Skip to content
COOEY

EXPOSURES › CVE-2026-4408

CVE-2026-4408

CRITICAL
DETAIL
SourceNVD · cve Published2026-05-28 CVSS9.0 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-4408 ↗
⚡ RCE ◐ ZERO-DAY SHAME 78/100 rceunpatchedexploited-in-wild

CVE-2026-4408 allows remote command execution in Samba via unescaped shell meta-characters in the check password script feature.

A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers using the 'check password script' feature with the %u substitution character, enabling remote command execution. DIB organizations must audit non-standard Samba configurations, patch immediately, and restrict the samba-dcerpcd service to system service mode to prevent exploitation. This failure is avoidable through proper configuration management and timely patching.

Shame score — Remote command execution via a misconfiguration in a widely deployed file server software, exploitable without a patch, represents a severe and avoidable security failure.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.