CVE-2026-4408: Samba: remote code execution in samr
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-11 15:49 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
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.
Description quoted from the CVE record (assigned by redhat, published 2026-05-28).
Weakness: Improper Neutralization of Special Elements used in an OS Command; Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)
How it can be exploited
Exploitable over the network with high attack complexity needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: total.
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 research write-up naming this CVE.
See all 12 references on Exploit Observer
Live scores
- EPSS
- 0.469
likely to be attacked soon - VEDAS
- 0.271
little exploit evidence - On CISA KEV
- Not listed
- Detection rule
- No public rule yet
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Red Hat Enterprise Linux 10 (samba) | Not stated | 0:4.23.5-109.el10_2 is not affected (up to *) |
| Red Hat Enterprise Linux 10.0 Extended Update Support (samba) | Not stated | 0:4.21.3-114.el10_0.1 is not affected (up to *) |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support (samba) | Not stated | 0:4.10.16-26.el7_9.1 is not affected (up to *) |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support (samba) | Not stated | 0:4.10.16-26.el7_9.1 is not affected (up to *) |
| Red Hat Enterprise Linux 8 (samba) | Not stated | 0:4.19.4-16.el8_10 is not affected (up to *) |
| Red Hat Enterprise Linux 8 (samba) | Not stated | 0:4.19.4-16.el8_10 is not affected (up to *) |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support (samba) | Not stated | 0:4.13.3-12.el8_4.1 is not affected (up to *) |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On (samba) | Not stated | 0:4.13.3-12.el8_4.1 is not affected (up to *) |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support (samba) | Not stated | 0:4.15.5-16.el8_6.1 is not affected (up to *) |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On (samba) | Not stated | 0:4.15.5-16.el8_6.1 is not affected (up to *) |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service (samba) | Not stated | 0:4.17.5-7.el8_8.1 is not affected (up to *) |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions (samba) | Not stated | 0:4.17.5-7.el8_8.1 is not affected (up to *) |
| Red Hat Enterprise Linux 9 (samba) | Not stated | 0:4.23.5-10.el9_8 is not affected (up to *) |
| Red Hat Enterprise Linux 9 (samba) | Not stated | 0:4.23.5-10.el9_8 is not affected (up to *) |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions (samba) | Not stated | 0:4.17.5-105.el9_2.5 is not affected (up to *) |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions (samba) | Not stated | 0:4.19.4-105.el9_4.4 is not affected (up to *) |
| Red Hat Enterprise Linux 9.6 Extended Update Support (samba) | Not stated | 0:4.21.3-14.el9_6.1 is not affected (up to *) |
| Red Hat OpenShift Container Platform 4.12 (openshift/ose-rhel-coreos-8) | Not stated | 412.86.202608241157-0 is not affected (up to *) |
| Red Hat OpenShift Container Platform 4.13 (openshift/ose-rhel-coreos-9) | Not stated | 413.92.202609080414-0 is not affected (up to *) |
| Red Hat OpenShift Container Platform 4.14 (openshift/ose-rhel-coreos-9) | Not stated | 414.92.202608172040-0 is not affected (up to *) |
9 more products are listed in the CVE record.
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
Vendor guidance:
- RHSA-2026:22644 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:22963 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:25049 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:25979 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28053 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28054 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28055 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28056 (vendor-advisory, x_refsource_REDHAT)
13 more
- RHSA-2026:28057 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28058 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28132 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:29799 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:29833 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:29863 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:56786 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:56853 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:56911 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:57483 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:59831 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:60019 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:65839 (vendor-advisory, x_refsource_REDHAT)
How to detect it
There is no open VEDAS detection rule for this bug yet. It is listed on the detection gaps page if CISA has confirmed attacks.
References
Vendor advisories and patches
- RHSA-2026:22644 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:22963 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:25049 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:25979 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28053 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28054 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28055 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28056 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28057 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28058 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:28132 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:29799 (vendor-advisory, x_refsource_REDHAT)
9 more
- RHSA-2026:29833 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:29863 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:56786 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:56853 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:56911 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:57483 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:59831 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:60019 (vendor-advisory, x_refsource_REDHAT)
- RHSA-2026:65839 (vendor-advisory, x_refsource_REDHAT)
Technical analysis and advisories
- RHBZ#2479762 (issue-tracking, x_refsource_REDHAT)
Other references
- https://access.redhat.com/security/cve/CVE-2026-4408 (vdb-entry, x_refsource_REDHAT)
- https://bugzilla.samba.org/show_bug.cgi?id=16034
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json (x_sadp-csaf-vex)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.