{"id":"CVE-2026-4408","summary":"Samba: remote code execution in samr","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-11-05T21:15:43.994694623Z","published":"2026-05-28T07:25:27.169Z","related":["ALSA-2026:22644","ALSA-2026:22963","ALSA-2026:25049","SUSE-SU-2026:2071-1","SUSE-SU-2026:2072-1","SUSE-SU-2026:2073-1","SUSE-SU-2026:2074-1","SUSE-SU-2026:2076-1","SUSE-SU-2026:2108-1","SUSE-SU-2026:22045-1","SUSE-SU-2026:22080-1","SUSE-SU-2026:23003-1","SUSE-SU-2026:23129-1","SUSE-SU-2026:23152-1","openSUSE-SU-2026:10884-1","openSUSE-SU-2026:20905-1","openSUSE-SU-2026:21540-1"],"database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4408.json","unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"0:4.23.5-109.el10_2"},{"fixed":"0:4.21.3-114.el10_0.1"},{"fixed":"0:4.10.16-26.el7_9.1"},{"fixed":"0:4.10.16-26.el7_9.1"},{"fixed":"0:4.19.4-16.el8_10"},{"fixed":"0:4.19.4-16.el8_10"},{"fixed":"0:4.13.3-12.el8_4.1"},{"fixed":"0:4.13.3-12.el8_4.1"},{"fixed":"0:4.15.5-16.el8_6.1"},{"fixed":"0:4.15.5-16.el8_6.1"},{"fixed":"0:4.17.5-7.el8_8.1"},{"fixed":"0:4.17.5-7.el8_8.1"},{"fixed":"0:4.23.5-10.el9_8"},{"fixed":"0:4.23.5-10.el9_8"},{"fixed":"0:4.17.5-105.el9_2.5"},{"fixed":"0:4.19.4-105.el9_4.4"},{"fixed":"0:4.21.3-14.el9_6.1"},{"fixed":"412.86.202608241157-0"},{"fixed":"413.92.202609080414-0"},{"fixed":"414.92.202608172040-0"},{"fixed":"415.92.202608180329-0"},{"fixed":"416.94.202608150307-0"},{"fixed":"417.94.202608250221-0"},{"fixed":"418.94.202608142238-0"},{"fixed":"4.19.9.6.202606241344-0"},{"fixed":"4.20.9.6.202606241928-0"},{"fixed":"4.21.9.6.202606241859-0"}],"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges"}]}],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22644"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:22963"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25049"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25979"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28053"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28054"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28055"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28056"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28057"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28058"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28132"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29799"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29833"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29863"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:56786"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:56853"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:56911"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:57483"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:59831"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:60019"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:65839"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-4408"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4408.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4408"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479762"},{"type":"REPORT","url":"https://bugzilla.samba.org/show_bug.cgi?id=16034"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samba-team/samba","events":[{"introduced":"a6fb418be7adccdd583a3b489b58023cfdd392ef"},{"fixed":"1c7d4b5b388ae2647732ed54834d5547a8c1357a"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","range":[{"introduced":"4.1.0"},{"fixed":"4.21.0"}],"source":"CPE_RANGE"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4408.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}