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-test-libsUpgrade samba-krb5-printingUpgrade samba-winbind-clientsUpgrade python3-samba-testUpgrade python3-sambaUpgrade samba-winbind-modulesUpgrade samba-winexeUpgrade libsmbclientUpgrade python3-ldbUpgrade libnetapiUpgrade libldbUpgrade samba-dcerpcUpgrade samba-develUpgrade samba-commonUpgrade samba-gpupdateUpgrade samba-winbind-krb5-locatorUpgrade libwbclient-develUpgrade libldb-develUpgrade python3-samba-develUpgrade libnetapi-develUpgrade samba-dc-libsUpgrade samba-pidlUpgrade samba-toolsUpgrade samba-common-toolsUpgrade samba-vfs-iouringUpgrade ldb-toolsUpgrade ctdbUpgrade python3-samba-dcUpgrade samba-testUpgrade libwbclientUpgrade libsmbclient-develUpgrade samba-clientUpgrade samba-usersharesUpgrade samba-libsUpgrade samba-winbindUpgrade sambaUpgrade samba-ldb-ldap-modulesUpgrade samba-client-libsUpgrade samba-common-libs | Jun 3, 2026 | Jun 2, 2026 |
| Alpine Linux | — | Upgrade samba | May 29, 2026 | May 28, 2026 |
| Amazon Linux Ami 2 | — | Upgrade samba-winbindUpgrade libwbclient-develUpgrade samba-pythonUpgrade libwbclientUpgrade samba-testUpgrade samba-pidlUpgrade samba-client-libsUpgrade samba-krb5-printingUpgrade samba-debuginfoUpgrade sambaUpgrade samba-libsUpgrade libsmbclient-develUpgrade ctdb-testsUpgrade samba-winbind-clientsUpgrade samba-common-toolsUpgrade samba-dc-libsUpgrade ctdbUpgrade samba-develUpgrade samba-winbind-krb5-locatorUpgrade samba-test-libsUpgrade libsmbclientUpgrade samba-vfs-glusterfsUpgrade samba-clientUpgrade samba-python-testUpgrade samba-dcUpgrade samba-winbind-modulesUpgrade samba-common-libsUpgrade samba-common | Jul 8, 2026 | Jul 8, 2026 |
| Amazon_linux_2023 | — | Upgrade libnetapi-develUpgrade samba-pidlUpgrade samba-test-libsUpgrade libwbclient-develUpgrade samba-ldb-ldap-modules-debuginfoUpgrade libwbclient-debuginfoUpgrade python3-samba-develUpgrade samba-debugsourceUpgrade libnetapi-debuginfoUpgrade python3-samba-dc-debuginfoUpgrade samba-test-libs-debuginfoUpgrade samba-common-libs-debuginfoUpgrade samba-dc-libs-debuginfoUpgrade samba-testUpgrade samba-common-tools-debuginfoUpgrade samba-winbind-krb5-locator-debuginfoUpgrade python3-samba-debuginfoUpgrade samba-toolsUpgrade samba-winbind-krb5-locatorUpgrade samba-vfs-iouringUpgrade samba-winbind-modulesUpgrade samba-winbindUpgrade samba-ldb-ldap-modulesUpgrade samba-commonUpgrade libsmbclient-develUpgrade samba-test-debuginfoUpgrade samba-libsUpgrade samba-client-debuginfoUpgrade python3-samba-dcUpgrade libnetapiUpgrade samba-develUpgrade samba-common-toolsUpgrade samba-clientUpgrade samba-winbind-modules-debuginfoUpgrade samba-krb5-printing-debuginfoUpgrade samba-dc-libsUpgrade libsmbclientUpgrade libwbclientUpgrade samba-winbind-clients-debuginfoUpgrade samba-dcerpcUpgrade samba-client-libsUpgrade python3-samba-testUpgrade samba-libs-debuginfoUpgrade samba-dcerpc-debuginfoUpgrade samba-krb5-printingUpgrade samba-common-libsUpgrade samba-client-libs-debuginfoUpgrade python3-sambaUpgrade samba-usersharesUpgrade samba-winbind-clientsUpgrade samba-winbind-debuginfoUpgrade samba-vfs-iouring-debuginfoUpgrade samba-debuginfoUpgrade sambaUpgrade libsmbclient-debuginfo | Jun 23, 2026 | May 28, 2026 |
| Debian | — | Upgrade samba | May 27, 2026 | May 27, 2026 |
| Oracle_linux | — | Upgrade samba-usersharesUpgrade samba-pidlUpgrade samba-vfs-iouringUpgrade libwbclientUpgrade libwbclient-develUpgrade sambaUpgrade libsmbclientUpgrade samba-winbindUpgrade samba-dcerpcUpgrade samba-client-libsUpgrade libnetapiUpgrade python3-sambaUpgrade samba-ldb-ldap-modulesUpgrade samba-winbind-modulesUpgrade samba-winbind-krb5-locatorUpgrade samba-test-libsUpgrade samba-toolsUpgrade samba-common-toolsUpgrade samba-commonUpgrade ctdbUpgrade samba-common-libsUpgrade samba-clientUpgrade samba-dc-libsUpgrade python3-samba-dcUpgrade python3-samba-testUpgrade samba-develUpgrade libsmbclient-develUpgrade samba-winexeUpgrade samba-winbind-clientsUpgrade samba-vfs-glusterfsUpgrade samba-testUpgrade python3-samba-develUpgrade libnetapi-develUpgrade samba-krb5-printingUpgrade samba-libs | Jun 5, 2026 | May 28, 2026 |
| Redhat Openshift | — | Upgrade rhcos | Aug 10, 2026 | May 26, 2026 |
| Redhat_linux | — | Upgrade samba-vfs-iouring-debuginfoUpgrade samba-vfs-glusterfsUpgrade ctdbUpgrade samba-clientUpgrade samba-common-libs-debuginfoUpgrade samba-develUpgrade libsmbclientUpgrade python3-samba-testUpgrade samba-winbind-modulesUpgrade samba-common-tools-debuginfoUpgrade samba-dcUpgrade samba-toolsUpgrade samba-winbind-krb5-locatorUpgrade sambaUpgrade samba-test-libsUpgrade samba-winexeNo solution existsUpgrade python3-samba-develUpgrade samba-dc-libs-debuginfoUpgrade libnetapi-develUpgrade ldb-tools-debuginfoUpgrade samba-dc-libsUpgrade libwbclient-debuginfoUpgrade python3-samba-dcUpgrade libsmbclient-debuginfoUpgrade samba-debugsourceUpgrade libldbUpgrade samba-winbind-clientsUpgrade samba-gpupdateUpgrade samba-debuginfoUpgrade samba-winbind-krb5-locator-debuginfoUpgrade ldb-toolsUpgrade samba-winbind-debuginfoUpgrade samba-libs-debuginfoUpgrade libldb-develUpgrade libnetapi-debuginfoUpgrade samba-winbind-modules-debuginfoUpgrade samba-client-libs-debuginfoUpgrade samba-test-libs-debuginfoUpgrade samba-python-testUpgrade samba-common-toolsUpgrade samba-commonUpgrade samba-common-libsUpgrade libsmbclient-develUpgrade samba-test-debuginfoUpgrade samba-ldb-ldap-modules-debuginfoUpgrade python3-ldbUpgrade python3-sambaUpgrade libwbclientUpgrade samba-client-debuginfoUpgrade python3-ldb-debuginfoUpgrade ctdb-debuginfoUpgrade ctdb-testsUpgrade samba-winexe-debuginfoUpgrade samba-winbindUpgrade samba-pidlUpgrade samba-krb5-printing-debuginfoUpgrade libnetapiUpgrade libwbclient-develUpgrade samba-testUpgrade samba-pythonUpgrade samba-krb5-printingUpgrade libldb-debuginfoUpgrade samba-client-libsUpgrade samba-usersharesUpgrade samba-winbind-clients-debuginfoUpgrade samba-vfs-iouringUpgrade python3-samba-debuginfoUpgrade samba-libsUpgrade samba-dcerpcUpgrade samba-ldb-ldap-modulesUpgrade samba-dcerpc-debuginfoUpgrade python3-samba-dc-debuginfo | Jun 4, 2026 | May 26, 2026 |
| Rocky_linux | — | Upgrade samba-winbindUpgrade libldb-develUpgrade libsmbclient-develUpgrade ctdb-debuginfoUpgrade samba-dcerpcUpgrade ctdbUpgrade samba-winbind-modulesUpgrade samba-winexe-debuginfoUpgrade samba-develUpgrade samba-vfs-iouringUpgrade samba-usersharesUpgrade samba-winbind-modules-debuginfoUpgrade libldbUpgrade samba-libs-debuginfoUpgrade samba-test-libs-debuginfoUpgrade ldb-tools-debuginfoUpgrade libwbclient-debuginfoUpgrade libsmbclient-debuginfoUpgrade libwbclient-develUpgrade libldb-debuginfoUpgrade libsmbclientUpgrade libnetapi-develUpgrade samba-common-libs-debuginfoUpgrade samba-toolsUpgrade samba-debugsourceUpgrade samba-debuginfoUpgrade sambaUpgrade python3-samba-dcUpgrade python3-samba-dc-debuginfoUpgrade samba-dc-libs-debuginfoUpgrade libnetapi-debuginfoUpgrade ldb-toolsUpgrade python3-ldb-debuginfoUpgrade samba-ldb-ldap-modules-debuginfoUpgrade samba-libsUpgrade libnetapiUpgrade samba-ldb-ldap-modulesUpgrade python3-sambaUpgrade python3-ldbUpgrade samba-winbind-clientsUpgrade samba-winbind-krb5-locator-debuginfoUpgrade samba-winexeUpgrade python3-samba-develUpgrade python3-samba-debuginfoUpgrade samba-winbind-clients-debuginfoUpgrade samba-test-debuginfoUpgrade samba-client-libs-debuginfoUpgrade python3-samba-testUpgrade samba-common-tools-debuginfoUpgrade samba-dcerpc-debuginfoUpgrade samba-vfs-iouring-debuginfoUpgrade samba-testUpgrade samba-client-libsUpgrade samba-krb5-printing-debuginfoUpgrade samba-common-libsUpgrade samba-clientUpgrade libwbclientUpgrade samba-test-libsUpgrade samba-dc-libsUpgrade samba-client-debuginfoUpgrade samba-winbind-krb5-locatorUpgrade samba-winbind-debuginfoUpgrade samba-krb5-printingUpgrade samba-common-tools | Jun 17, 2026 | Jun 13, 2026 |
| Suse | — | Upgrade samba-toolUpgrade sambaUpgrade libsamba-policy-develUpgrade samba-ad-dc-libs-32bitUpgrade samba-develUpgrade samba-gpupdateUpgrade samba-winbind-libs-32bitUpgrade libldb2Upgrade samba-clientUpgrade samba-ad-dcUpgrade samba-ad-dc-libsUpgrade samba-winbindUpgrade samba-libs-python3Upgrade ctdb-pcp-pmdaUpgrade samba-docUpgrade samba-dcerpcUpgrade samba-libs-32bitUpgrade libldb-develUpgrade samba-client-langUpgrade libsamba-policy-python3-develUpgrade libsamba-policy0-python3-32bitUpgrade libldb2-32bitUpgrade samba-winbind-libs-langUpgrade samba-devel-32bitUpgrade samba-cephUpgrade samba-winbind-libsUpgrade samba-libs-python3-32bitUpgrade python3-ldbUpgrade samba-testUpgrade samba-libsUpgrade samba-client-32bitUpgrade ctdbUpgrade ldb-toolsUpgrade samba-ldb-ldapUpgrade samba-client-libsUpgrade samba-dsdb-modulesUpgrade samba-client-libs-32bitUpgrade libsamba-policy0-python3Upgrade samba-python3 | May 27, 2026 | May 27, 2026 |
| Ubuntu | — | Upgrade samba-libs (Ubuntu Pro)Upgrade libwbclient0 (Ubuntu Pro)Upgrade samba (Ubuntu Pro)Upgrade samba-common (Ubuntu Pro)Upgrade samba-vfs-modules (Ubuntu Pro)Upgrade samba-dsdb-modules (Ubuntu Pro)Upgrade samba-common-bin (Ubuntu Pro)Upgrade samba-dev (Ubuntu Pro)Upgrade libnss-winbind (Ubuntu Pro)Upgrade ctdb (Ubuntu Pro)Upgrade libpam-winbind (Ubuntu Pro)Upgrade registry-tools (Ubuntu Pro)Upgrade libsmbclient (Ubuntu Pro)Upgrade libsmbclient-dev (Ubuntu Pro)Upgrade libwbclient-dev (Ubuntu Pro)Upgrade sambaUpgrade smbclient (Ubuntu Pro)Upgrade python3-samba (Ubuntu Pro)Upgrade 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