{"id":"DEBIAN-CVE-2026-4408","details":"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.","modified":"2026-09-19T22:47:28.057584438Z","published":"2026-05-28T09:16:47.643Z","upstream":["CVE-2026-4408"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-4408"}],"affected":[{"package":{"name":"samba","ecosystem":"Debian:12","purl":"pkg:deb/debian/samba?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.17.12+dfsg-0+deb12u4"}]}],"versions":["2:4.17.10+dfsg-0+deb12u1","2:4.17.10+dfsg-0+deb12u1~bpo11+1","2:4.17.11+dfsg-0+deb12u1","2:4.17.12+dfsg-0+deb12u1","2:4.17.12+dfsg-0+deb12u1~bpo11+1","2:4.17.12+dfsg-0+deb12u2","2:4.17.12+dfsg-0+deb12u3","2:4.17.8+dfsg-2","2:4.17.8+dfsg-2.1","2:4.17.9+dfsg-0+deb12u1","2:4.17.9+dfsg-0+deb12u2","2:4.17.9+dfsg-0+deb12u3","2:4.17.9+dfsg-0+deb12u3~bpo11+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4408.json"}},{"package":{"name":"samba","ecosystem":"Debian:13","purl":"pkg:deb/debian/samba?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.22.8+dfsg-0+deb13u2"}]}],"versions":["2:4.22.3+dfsg-4","2:4.22.4+dfsg-1","2:4.22.4+dfsg-1~deb13u1","2:4.22.4+dfsg-1~deb13u1~bpo12+1","2:4.22.6+dfsg-0+deb13u1","2:4.22.6+dfsg-0+deb13u1~bpo12+1","2:4.22.8+dfsg-0+deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4408.json"}},{"package":{"name":"samba","ecosystem":"Debian:14","purl":"pkg:deb/debian/samba?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:4.24.3+dfsg-1"}]}],"versions":["2:4.22.3+dfsg-4","2:4.22.4+dfsg-1","2:4.22.4+dfsg-1~deb13u1","2:4.22.4+dfsg-1~deb13u1~bpo12+1","2:4.23.0+dfsg-1","2:4.23.0+dfsg-2","2:4.23.0+dfsg-3","2:4.23.0~rc1+dfsg-1","2:4.23.0~rc2+dfsg-1","2:4.23.0~rc3+dfsg-1","2:4.23.1+dfsg-1","2:4.23.2+dfsg-1","2:4.23.3+dfsg-1","2:4.23.3+dfsg-1~bpo13+1","2:4.23.4+dfsg-1","2:4.23.4+dfsg-1~bpo13+1","2:4.23.5+dfsg-1","2:4.23.5+dfsg-1~bpo13+1","2:4.23.6+dfsg-1","2:4.23.6+dfsg-2","2:4.23.6+dfsg-2~bpo13+1","2:4.24.0+dfsg-1","2:4.24.0~rc1+dfsg-1","2:4.24.0~rc1+dfsg-2","2:4.24.0~rc1+dfsg-3","2:4.24.0~rc2+dfsg-1","2:4.24.1+dfsg-1","2:4.24.2+dfsg-1","2:4.24.2+dfsg-1~bpo13+1","2:4.24.3+dfsg-1~bpo13+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-4408.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}