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