CVE-2026-4408

Critical

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.

SeverityCritical
CVSS9.0
Exploit probability—
ProductSamba
PublishedMay 28, 2026
First seenMay 28, 2026

How to fix

Affected products

ProductAffected versionsFixed in
samba samba4.1.0 ≤ v < 4.21.04.21.0
redhat openshift_container_platform4.0—
redhat enterprise_linux6.0, 7.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.