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