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.
References
Configurations
No configuration.
History
04 Jun 2026, 00:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
03 Jun 2026, 06:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
28 May 2026, 09:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-28 09:16
Updated : 2026-06-04 00:16
NVD link : CVE-2026-4408
Mitre link : CVE-2026-4408
CVE.ORG link : CVE-2026-4408
JSON object : View
Products Affected
No product.
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
