CVE-2026-4408

CRITICAL CVSS 3.1: 9.8 EPSS 46.9%
Updated Oct 26, 2026
Samba
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions 4.1.0 — 4.21.0
Fixed In 4.21.0
Type CWE-78 (OS Command Injection)
Vendor Samba
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 5

Configuration From (including) Up to (excluding)
Redhat Openshift_Container_Platform
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
— —
Samba Samba
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
4.1.0 4.21.0
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —

References 25

https://access.redhat.com/errata/RHSA-2026:22644
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:22963
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:25049
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:25979
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28053
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28054
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28055
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28056
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28057
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28058
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:28132
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:29799
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:29833
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:29863
secalert@redhat.com
https://access.redhat.com/security/cve/CVE-2026-4408
secalert@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2479762
secalert@redhat.com
https://bugzilla.samba.org/show_bug.cgi?id=16034
secalert@redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json
0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:57483
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:56786
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:56853
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:56911
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:59831
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:60019
secalert@redhat.com
https://access.redhat.com/errata/RHSA-2026:65839
secalert@redhat.com