# CVE-2026-4408: Samba: remote code execution in samr

- Severity: Critical 9.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 46.9%, higher than 98% of CVEs (2026-12-02)
- Published: 2026-05-28T07:25:27.169Z
- Modified: 2026-11-26T15:17:33.270Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- samba: no versions given (not affected: from 0:4.23.5-109.el10_2 before *; from 0:4.21.3-114.el10_0.1 before *; from 0:4.10.16-26.el7_9.1 before *; from 0:4.19.4-16.el8_10 before *; from 0:4.13.3-12.el8_4.1 before *; from 0:4.15.5-16.el8_6.1 before *; from 0:4.17.5-7.el8_8.1 before *; from 0:4.23.5-10.el9_8 before *; from 0:4.17.5-105.el9_2.5 before *; from 0:4.19.4-105.el9_4.4 before *; from 0:4.21.3-14.el9_6.1 before *)
- openshift/ose-rhel-coreos-8: no versions given (not affected: from 412.86.202608241157-0 before *)
- openshift/ose-rhel-coreos-9: no versions given (not affected: from 413.92.202609080414-0 before *; from 414.92.202608172040-0 before *; from 415.92.202608180329-0 before *; from 416.94.202608150307-0 before *; from 417.94.202608250221-0 before *; from 418.94.202608142238-0 before *; from 4.19.9.6.202606241344-0 before *; from 4.20.9.6.202606241928-0 before *; from 4.21.9.6.202606241859-0 before *)
- samba4: no versions given
- rhcos: no versions given (not affected: from 412.86.202608241157-0 before *; from 413.92.202609080414-0 before *; from 414.92.202608172040-0 before *; from 415.92.202608180329-0 before *; from 416.94.202608150307-0 before *; from 417.94.202608250221-0 before *; from 418.94.202608142238-0 before *; from 4.19.9.6.202606241344-0 before *; from 4.20.9.6.202606241928-0 before *; from 4.21.9.6.202606241859-0 before *)
- redhat openshift_container_platform: 4.0
- samba samba: from 4.1.0 before 4.21.0
- redhat enterprise_linux: 6.0; 7.0; 9.0

## Every score

- redhat: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:22644> (issue-tracking, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:22963> (issue-tracking, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25049> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25979> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28053> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28054> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28055> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28056> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28057> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28058> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28132> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:29799> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:29833> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:29863> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56786> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56853> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56911> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57483> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59831> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60019> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65839> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-4408> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2479762> (issue-tracking, third-party-advisory)
- <https://bugzilla.samba.org/show_bug.cgi?id=16034> (issue-tracking, vendor-advisory)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json>

## Sources

- CVE List: [CVE-2026-4408](https://www.cve.org/CVERecord?id=CVE-2026-4408), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-4408](https://nvd.nist.gov/vuln/detail/CVE-2026-4408), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2026-4408 · Whole record: https://cve.day/CVE-2026-4408.json · Rebuilt by cve.day 2026-11-26T15:32:15.770Z
