Koffei

CVE-2026-4408

🟠 Medium

Samba — file servers and classic domain controllers. The precondition is narrow and decides everything about this row: check password script must be configured with %u, and samba-dcerpcd must run as a system service. Red Hat calls this a non-default configuration and states that Active Directory domain controllers are not affected · 4.1.0 up to but excluding 4.21.0 per NVD's configuration data. No upstream fixed release is named by Red Hat or in the record, and the Samba bugzilla entry (bug 16034) is robots-disallowed and could not be read, so the upstream fixed version is a gap this row cannot close. Red Hat shipped package fixes across RHEL 7 ELS through RHEL 10 in more than twenty errata

CVSS (Koffei note)
9.8
CVSS (v3.1, CVE List)
9.0
EPSS (2026-11-18)
46.926%
98.85th percentile

Exploitation

No — CISA-ADP records exploitation none, automatable no, technical impact total (SSVC timestamped 29/05/2026) ; not in CISA KEV ; no public PoC found ; Red Hat does not mention exploitation. Rated 🟠 on the 9.8 and the unauthenticated remote path, not on any evidence of use, and the non-default precondition is the reason to check configuration before treating it as urgent. CISA KEV itself was not reached this run, so the KEV dates and deadlines come from the records' own kev blocks and from NVD

Timeline

  1. 28/05/2026CVE record published (CVE List)

Risk

9.8 Critical (v3.1, NVD primary) — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, EPSS 46.926% (98.85th percentile, scored 15/11/2026) — three sources, two scores: NVD says 9.8, while Red Hat as CNA and cve.org both say 9.0 with AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H, the difference being attack complexity high and a scope change. Red Hat rates it Important (CWE-78 : the client-supplied username reaches a shell through the check password script option's %u substitution without shell meta-characters being escaped, giving unauthenticated remote command execution)

Fix

Partly — distribution packages are fixed but no upstream version is named. Red Hat's errata run from RHSA-2026:22644 to RHSA-2026:65839. Red Hat states that no mitigation or workaround is available, so the practical control is configuration: remove %u from check password script, or stop running samba-dcerpcd as a system service, until packages are updated

Official 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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

CWE-78