CVE-2026-4408CWE-78command-injection

CVE-2026-4408

Critical · published May 28, 2026

CVSS v3.1
9.0
EPSS
2%
Percentile
77.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01750 · 77.7th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-05-28T13:16Z
Affected products (5)
ProductVersionsFixed in
redhat/openshift_container_platformall versions—
samba/samba≥ 4.1.0, < 4.21.04.21.0
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
References (48)
https://access.redhat.com/errata/RHSA-2026:22644 · [email protected]https://access.redhat.com/errata/RHSA-2026:22963 · [email protected]https://access.redhat.com/errata/RHSA-2026:25049 · [email protected]https://access.redhat.com/errata/RHSA-2026:25979 · [email protected]https://access.redhat.com/errata/RHSA-2026:28053 · [email protected]https://access.redhat.com/errata/RHSA-2026:28054 · [email protected]https://access.redhat.com/errata/RHSA-2026:28055 · [email protected]https://access.redhat.com/errata/RHSA-2026:28056 · [email protected]https://access.redhat.com/errata/RHSA-2026:28057 · [email protected]https://access.redhat.com/errata/RHSA-2026:28058 · [email protected]https://access.redhat.com/errata/RHSA-2026:28132 · [email protected]https://access.redhat.com/errata/RHSA-2026:29799 · [email protected]https://access.redhat.com/errata/RHSA-2026:29833 · [email protected]https://access.redhat.com/errata/RHSA-2026:29863 · [email protected]https://access.redhat.com/errata/RHSA-2026:56786 · [email protected]https://access.redhat.com/errata/RHSA-2026:56853 · [email protected]https://access.redhat.com/errata/RHSA-2026:56911 · [email protected]https://access.redhat.com/errata/RHSA-2026:57483 · [email protected]https://access.redhat.com/errata/RHSA-2026:59831 · [email protected]https://access.redhat.com/errata/RHSA-2026:60019 · [email protected]https://access.redhat.com/errata/RHSA-2026:65839 · [email protected]https://access.redhat.com/security/cve/CVE-2026-4408 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2479762 · [email protected]https://bugzilla.samba.org/show_bug.cgi?id=16034 · [email protected]https://access.redhat.com/errata/RHSA-2026:22644 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:22963 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:25049 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:25979 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28053 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28054 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28055 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28056 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28057 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28058 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:28132 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:29799 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:29833 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:29863 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:56786 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:56853 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:56911 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:57483 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:59831 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:60019 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/errata/RHSA-2026:65839 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://access.redhat.com/security/cve/CVE-2026-4408 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://bugzilla.redhat.com/show_bug.cgi?id=2479762 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46chttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
EPSS history
Timeline
  • 28 MAY 07:25Z
    Samba: remote code execution in samr
    cvelistv5