Skip to content
CVSS 9.0 · CRITICAL

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.

Ver en NVD

Análisis

A critical RCE vulnerability in Samba allows attackers to execute arbitrary shell commands via specially crafted usernames. This affects servers using the 'check password script' feature with the %u substitution. Admins should audit their smb.conf files and update immediately.

Roles relevantes

BackendLinuxCyberSecurityWindowsCloud

Severidad

Puntaje: 9.0(CRITICAL)
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
AV: NETWORK
AC: HIGH
PR: NONE
UI: NONE
S: CHANGED
C: HIGH
I: HIGH
A: HIGH
Tipo de falla (CWE): CWE-78

EPSS

Probabilidad de explotación (próx. 30 días): 0.0023 (0.2%)
Percentil: 46.4%
EPSS: 2026-05-31

Descripción técnica

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.

Publicada: 28/5/2026, 9:16:47
Última modificación: 28/5/2026, 13:44:54

Referencias

InicioEventosBlogRecursosEquipo