RCE in Samba

CVE-2026-4408

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.018 (77.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-4408: fell from 0.025 to 0.018.

EPSS over last 30 days · oldest: 0.025 · newest: 0.018 · change: -0.008

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-4408?
CVE-2026-4408 is a critical-severity vulnerability in Samba, classified under OS Command Injection. CVSS score: 9.0/10. Published 2026-05-28.
How severe is CVE-2026-4408?
Critical severity. CVSS v3 base score is 9.0 out of 10.
Is CVE-2026-4408 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.