CVE-2026-4408: Samba: remote code execution in samr
CVE-2026-4408 affects 234 listed versions of Samba in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Samba
234 of 250 listed versions are affected. Fixed in 4.24.3, 4.23.8, 4.22.10. The newest release, 4.25.1, is not affected.
4.24.2 4.24.1 4.24.0 4.23.7 4.23.6 4.23.5 4.23.4 4.23.3 4.23.2 4.23.1 4.23.0 4.22.9 4.22.8 4.22.7 4.22.6 4.22.5 4.22.4 4.22.3 4.22.2 4.22.1 4.22.0 4.21.10 4.21.9 4.21.8 4.21.7 4.21.6 4.21.5 4.21.4 4.21.3 4.21.2 4.21.1 4.21.0 4.20.8 4.20.7 4.20.6 4.20.5 4.20.4 4.20.3 4.20.2 4.20.1 4.20.0 4.19.9 4.19.8 4.19.7 4.19.6 4.19.5 4.19.4 4.19.3 4.19.2 4.19.1 4.19.0 4.18.11 4.18.10 4.18.9 4.18.8 4.18.7 4.18.6 4.18.5 4.18.4 4.18.3 and 174 more
What it is
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Red Hat on 28 May 2026. Last changed 26 November 2026.
Sources
Check one version you run: look CVE-2026-4408 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.