CVE-2026-4408
🟠 MediumSamba — file servers and classic domain controllers. The precondition is narrow and decides everything about this row: check password script must be configured with %u, and samba-dcerpcd must run as a system service. Red Hat calls this a non-default configuration and states that Active Directory domain controllers are not affected · 4.1.0 up to but excluding 4.21.0 per NVD's configuration data. No upstream fixed release is named by Red Hat or in the record, and the Samba bugzilla entry (bug 16034) is robots-disallowed and could not be read, so the upstream fixed version is a gap this row cannot close. Red Hat shipped package fixes across RHEL 7 ELS through RHEL 10 in more than twenty errata
98.85th percentile
Exploitation
Timeline
- 28/05/2026CVE record published (CVE List)
Risk
check password script option's %u substitution without shell meta-characters being escaped, giving unauthenticated remote command execution)Fix
%u from check password script, or stop running samba-dcerpcd as a system service, until packages are updatedOfficial 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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE-78