CVE-2026-4408
Critical · CVSS 9.0Samba — OS Command Injection via unsanitized shell meta-character substitution (CWE-78) leading to Remote Code Execution
- CVSS
- 9.0
- nvd
- EPSS
- —
- KEV
- No
- Class
- kernel local
- CWE-78
Description
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.
Search profile — drives PoC discovery
References
- https://access.redhat.com/errata/RHSA-2026:22644
- https://access.redhat.com/errata/RHSA-2026:22963
- https://access.redhat.com/errata/RHSA-2026:25049
- https://access.redhat.com/errata/RHSA-2026:25979
- https://access.redhat.com/security/cve/CVE-2026-4408
- https://bugzilla.redhat.com/show_bug.cgi?id=2479762
- https://bugzilla.samba.org/show_bug.cgi?id=16034
Status: enriched · ingested 2026-06-16T00:00:58.000Z · profiled 2026-06-16T18:20:23.035Z