A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade samba-clientUpgrade samba-dcerpcUpgrade samba-krb5-printingUpgrade samba-test-libsUpgrade samba-common-toolsUpgrade libsmbclientUpgrade samba-usersharesUpgrade sambaUpgrade samba-winexeUpgrade samba-winbind-krb5-locatorUpgrade samba-toolsUpgrade libwbclientUpgrade samba-develUpgrade libldb-develUpgrade samba-gpupdateUpgrade samba-winbindUpgrade samba-commonUpgrade python3-samba-dcUpgrade ldb-toolsUpgrade ctdbUpgrade samba-testUpgrade samba-vfs-iouringUpgrade libwbclient-develUpgrade python3-sambaUpgrade libldbUpgrade python3-samba-develUpgrade samba-dc-libsUpgrade libnetapi-develUpgrade samba-pidlUpgrade libnetapiUpgrade samba-common-libsUpgrade python3-ldbUpgrade samba-winbind-modulesUpgrade samba-ldb-ldap-modulesUpgrade samba-libsUpgrade samba-winbind-clientsUpgrade libsmbclient-develUpgrade python3-samba-testUpgrade samba-client-libs | Jun 3, 2026 | Jun 2, 2026 |
| Alpine Linux | — | Upgrade samba | May 29, 2026 | May 28, 2026 |
| Amazon Linux Ami 2 | — | Upgrade samba-vfs-glusterfsUpgrade samba-clientUpgrade samba-dc-libsUpgrade samba-winbind-modulesUpgrade samba-winbind-clientsUpgrade samba-common-toolsUpgrade ctdbUpgrade samba-dcUpgrade samba-develUpgrade samba-common-libsUpgrade samba-commonUpgrade samba-python-testUpgrade samba-winbind-krb5-locatorUpgrade libsmbclientUpgrade samba-test-libsUpgrade samba-testUpgrade samba-pidlUpgrade ctdb-testsUpgrade sambaUpgrade samba-pythonUpgrade samba-client-libsUpgrade samba-krb5-printingUpgrade libwbclientUpgrade samba-libsUpgrade libsmbclient-develUpgrade samba-winbindUpgrade libwbclient-develUpgrade samba-debuginfo | Jul 8, 2026 | Jul 8, 2026 |
| Amazon_linux_2023 | — | Upgrade samba-dcerpcUpgrade samba-client-libsUpgrade samba-client-libs-debuginfoUpgrade samba-common-libsUpgrade samba-krb5-printingUpgrade samba-usersharesUpgrade samba-libs-debuginfoUpgrade python3-samba-testUpgrade samba-winbind-modulesUpgrade samba-vfs-iouringUpgrade samba-winbind-clients-debuginfoUpgrade samba-ldb-ldap-modulesUpgrade samba-krb5-printing-debuginfoUpgrade samba-winbindUpgrade samba-dcerpc-debuginfoUpgrade samba-client-debuginfoUpgrade samba-winbind-krb5-locatorUpgrade samba-commonUpgrade samba-vfs-iouring-debuginfoUpgrade samba-develUpgrade samba-winbind-modules-debuginfoUpgrade libnetapiUpgrade libwbclientUpgrade libsmbclientUpgrade python3-sambaUpgrade samba-libsUpgrade samba-common-toolsUpgrade samba-dc-libsUpgrade samba-clientUpgrade samba-debuginfoUpgrade samba-winbind-debuginfoUpgrade libsmbclient-develUpgrade samba-winbind-clientsUpgrade sambaUpgrade libsmbclient-debuginfoUpgrade samba-test-debuginfoUpgrade python3-samba-dcUpgrade samba-ldb-ldap-modules-debuginfoUpgrade samba-common-tools-debuginfoUpgrade samba-toolsUpgrade libwbclient-debuginfoUpgrade samba-testUpgrade python3-samba-debuginfoUpgrade samba-common-libs-debuginfoUpgrade python3-samba-dc-debuginfoUpgrade python3-samba-develUpgrade samba-winbind-krb5-locator-debuginfoUpgrade libnetapi-develUpgrade samba-test-libs-debuginfoUpgrade samba-debugsourceUpgrade libnetapi-debuginfoUpgrade samba-test-libsUpgrade samba-pidlUpgrade libwbclient-develUpgrade samba-dc-libs-debuginfo | Jun 23, 2026 | May 28, 2026 |
| Debian | — | Upgrade samba | May 27, 2026 | May 27, 2026 |
| Oracle_linux | — | Upgrade samba-toolsUpgrade samba-libsUpgrade samba-winbind-krb5-locatorUpgrade samba-winexeUpgrade samba-testUpgrade samba-winbind-clientsUpgrade python3-samba-dcUpgrade samba-develUpgrade samba-clientUpgrade samba-commonUpgrade samba-test-libsUpgrade samba-krb5-printingUpgrade python3-samba-develUpgrade libnetapi-develUpgrade samba-vfs-glusterfsUpgrade libsmbclient-develUpgrade samba-dc-libsUpgrade samba-common-libsUpgrade ctdbUpgrade samba-common-toolsUpgrade python3-samba-testUpgrade libnetapiUpgrade libwbclientUpgrade samba-pidlUpgrade samba-ldb-ldap-modulesUpgrade samba-winbind-modulesUpgrade samba-winbindUpgrade samba-vfs-iouringUpgrade samba-client-libsUpgrade sambaUpgrade libsmbclientUpgrade samba-dcerpcUpgrade libwbclient-develUpgrade python3-sambaUpgrade samba-usershares | Jun 5, 2026 | May 28, 2026 |
| Redhat Openshift | — | Upgrade rhcos | Aug 10, 2026 | May 26, 2026 |
| Redhat_linux | — | Upgrade samba-dc-libsUpgrade samba-dc-libs-debuginfoUpgrade libwbclient-debuginfoUpgrade ldb-toolsUpgrade libsmbclient-debuginfoUpgrade ldb-tools-debuginfoUpgrade libldbUpgrade samba-winexeNo solution existsUpgrade sambaUpgrade samba-libs-debuginfoUpgrade samba-python-testUpgrade libnetapi-develUpgrade samba-develUpgrade samba-dcUpgrade samba-test-libs-debuginfoUpgrade samba-winbind-modules-debuginfoUpgrade samba-winbind-modulesUpgrade libsmbclientUpgrade samba-debugsourceUpgrade python3-samba-testUpgrade python3-samba-develUpgrade samba-debuginfoUpgrade samba-gpupdateUpgrade samba-common-tools-debuginfoUpgrade samba-common-libsUpgrade samba-winbind-krb5-locator-debuginfoUpgrade samba-toolsUpgrade samba-client-libs-debuginfoUpgrade samba-commonUpgrade samba-common-toolsUpgrade python3-samba-dcUpgrade ctdbUpgrade samba-common-libs-debuginfoUpgrade samba-vfs-iouring-debuginfoUpgrade samba-winbind-krb5-locatorUpgrade samba-winbind-clientsUpgrade libnetapi-debuginfoUpgrade samba-test-libsUpgrade samba-winbind-debuginfoUpgrade libldb-develUpgrade samba-vfs-glusterfsUpgrade samba-clientUpgrade samba-pythonUpgrade python3-samba-debuginfoUpgrade samba-krb5-printing-debuginfoUpgrade ctdb-testsUpgrade python3-samba-dc-debuginfoUpgrade samba-dcerpcUpgrade libldb-debuginfoUpgrade python3-sambaUpgrade python3-ldbUpgrade samba-testUpgrade samba-krb5-printingUpgrade libwbclient-develUpgrade samba-client-libsUpgrade samba-usersharesUpgrade python3-ldb-debuginfoUpgrade libsmbclient-develUpgrade ctdb-debuginfoUpgrade samba-winbind-clients-debuginfoUpgrade samba-client-debuginfoUpgrade samba-test-debuginfoUpgrade libnetapiUpgrade samba-vfs-iouringUpgrade samba-winbindUpgrade samba-ldb-ldap-modules-debuginfoUpgrade samba-ldb-ldap-modulesUpgrade samba-winexe-debuginfoUpgrade samba-pidlUpgrade libwbclientUpgrade samba-dcerpc-debuginfoUpgrade samba-libs | Jun 4, 2026 | May 26, 2026 |
| Rocky_linux | — | Upgrade samba-usersharesUpgrade libldbUpgrade samba-dc-libs-debuginfoUpgrade samba-winbind-modules-debuginfoUpgrade python3-samba-dcUpgrade samba-libs-debuginfoUpgrade samba-debuginfoUpgrade ctdbUpgrade libldb-develUpgrade ctdb-debuginfoUpgrade libsmbclient-develUpgrade samba-common-libs-debuginfoUpgrade samba-dcerpcUpgrade samba-winexe-debuginfoUpgrade samba-winbind-modulesUpgrade samba-vfs-iouringUpgrade libnetapi-develUpgrade libsmbclientUpgrade libsmbclient-debuginfoUpgrade libwbclient-debuginfoUpgrade libwbclient-develUpgrade samba-test-libs-debuginfoUpgrade ldb-tools-debuginfoUpgrade samba-debugsourceUpgrade samba-toolsUpgrade samba-winbindUpgrade libldb-debuginfoUpgrade python3-samba-dc-debuginfoUpgrade samba-develUpgrade sambaUpgrade samba-clientUpgrade samba-ldb-ldap-modules-debuginfoUpgrade ldb-toolsUpgrade libwbclientUpgrade samba-testUpgrade samba-krb5-printing-debuginfoUpgrade samba-client-libsUpgrade python3-ldb-debuginfoUpgrade samba-common-libsUpgrade samba-winexeUpgrade samba-test-libsUpgrade samba-dc-libsUpgrade samba-client-debuginfoUpgrade samba-winbind-krb5-locatorUpgrade samba-winbind-debuginfoUpgrade samba-krb5-printingUpgrade samba-libsUpgrade libnetapi-debuginfoUpgrade samba-common-toolsUpgrade python3-samba-debuginfoUpgrade samba-common-tools-debuginfoUpgrade samba-test-debuginfoUpgrade samba-client-libs-debuginfoUpgrade python3-samba-testUpgrade python3-ldbUpgrade samba-winbind-krb5-locator-debuginfoUpgrade samba-winbind-clientsUpgrade samba-dcerpc-debuginfoUpgrade python3-sambaUpgrade samba-winbind-clients-debuginfoUpgrade samba-ldb-ldap-modulesUpgrade libnetapiUpgrade python3-samba-develUpgrade samba-vfs-iouring-debuginfo | Jun 17, 2026 | Jun 13, 2026 |
| Suse | — | Upgrade samba-docUpgrade samba-libs-32bitUpgrade samba-dcerpcUpgrade samba-ad-dc-libsUpgrade libsamba-policy-develUpgrade samba-libs-python3Upgrade ctdb-pcp-pmdaUpgrade samba-develUpgrade samba-gpupdateUpgrade sambaUpgrade samba-toolUpgrade samba-winbind-libs-32bitUpgrade samba-winbindUpgrade samba-clientUpgrade samba-client-langUpgrade libldb2Upgrade libldb-develUpgrade samba-ad-dcUpgrade libsamba-policy-python3-develUpgrade samba-ad-dc-libs-32bitUpgrade samba-winbind-libsUpgrade samba-testUpgrade samba-libs-python3-32bitUpgrade samba-cephUpgrade samba-devel-32bitUpgrade python3-ldbUpgrade samba-ldb-ldapUpgrade ldb-toolsUpgrade samba-python3Upgrade samba-dsdb-modulesUpgrade libsamba-policy0-python3Upgrade samba-client-libs-32bitUpgrade samba-libsUpgrade samba-client-32bitUpgrade ctdbUpgrade libsamba-policy0-python3-32bitUpgrade libldb2-32bitUpgrade samba-winbind-libs-langUpgrade samba-client-libs | May 27, 2026 | May 27, 2026 |
| Ubuntu | — | Upgrade samba-vfs-modules (Ubuntu Pro)Upgrade samba (Ubuntu Pro)Upgrade samba-libs (Ubuntu Pro)Upgrade samba-common (Ubuntu Pro)Upgrade libwbclient0 (Ubuntu Pro)Upgrade samba-dsdb-modules (Ubuntu Pro)Upgrade samba-common-bin (Ubuntu Pro)Upgrade samba-dev (Ubuntu Pro)Upgrade winbind (Ubuntu Pro)Upgrade libsmbclient (Ubuntu Pro)Upgrade registry-tools (Ubuntu Pro)Upgrade libsmbclient-dev (Ubuntu Pro)Upgrade libwbclient-dev (Ubuntu Pro)Upgrade sambaUpgrade smbclient (Ubuntu Pro)Upgrade python3-samba (Ubuntu Pro)Upgrade libpam-winbind (Ubuntu Pro)Upgrade ctdb (Ubuntu Pro)Upgrade libnss-winbind (Ubuntu Pro) | May 27, 2026 | May 26, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jun 22, 2026 | May 28, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub