CVE-2026-4408

EUVD-2026-32741
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.
OS Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9 CRITICAL
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 46%
Debian logo
Debian Releases
Debian Product
Codename
samba
bookworm
vulnerable
bookworm (security)
2:4.17.12+dfsg-0+deb12u4
fixed
bullseye
vulnerable
bullseye (security)
vulnerable
forky
vulnerable
sid
2:4.24.3+dfsg-1
fixed
trixie
vulnerable
trixie (security)
2:4.22.8+dfsg-0+deb13u2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
samba
bionic
needs-triage
focal
needs-triage
jammy
Fixed 2:4.15.13+dfsg-0ubuntu1.12
released
noble
Fixed 2:4.19.5+dfsg-4ubuntu9.6
released
questing
Fixed 2:4.22.3+dfsg-4ubuntu2.4
released
resolute
Fixed 2:4.23.6+dfsg-1ubuntu2.1
released
trusty
needs-triage
xenial
needs-triage