← All CVEs

CVE-2026-4408

critical · 9

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.

9
CVSS
2.5%
EPSS (exploit prob.)
84th
EPSS percentile
2026-05-28
Published

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-78

Affected products

VendorProductAffected versions
redhatopenshift_container_platform4.0
sambasamba>= 4.1.0, < 4.21.0
redhatenterprise_linux6.0
redhatenterprise_linux7.0
redhatenterprise_linux9.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2026-4408