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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.0
- **CVSS:** 9.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.75% (percentile 78, 2026-11-26)
- **CWE:** CWE-78
- **Published:** 2026-05-28T07:25:27.169Z
- **Modified:** 2026-11-26T15:17:33.270Z

## Who should check

- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10.0 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions
- Anyone running Red Hat Enterprise Linux 8 all versions
- Anyone running Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions
- Anyone running Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions
- Anyone running Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On all versions

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

## Affected and fixed versions

- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10.0 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.6 Extended Update Support: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.12: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.13: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.14: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.15: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.16: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.17: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.19: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.20: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.21: all versions (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)

## Mitigation

- Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-4408. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-4408.md
Affected: Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.0 Extended Update Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Ente…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 7 Extended Lifecycle Support, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Lif…: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-4408 being exploited?

There is no confirmed exploitation: CVE-2026-4408 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.75% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-4408?

Critical: CVSS 9.0 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-4408?

Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.0 Extended Update Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.8 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.6 Extended Update Support all versions; Red Hat OpenShift Container Platform 4.12 all versions; Red Hat OpenShift Container Platform 4.13 all versions; Red Hat OpenShift Container Platform 4.14 all versions; Red Hat OpenShift Container Platform 4.15 all versions; Red Hat OpenShift Container Platform 4.16 all versions; Red Hat OpenShift Container Platform 4.17 all versions; Red Hat OpenShift Container Platform 4.18 all versions; Red Hat OpenShift Container Platform 4.19 all versions; Red Hat OpenShift Container Platform 4.20 all versions; Red Hat OpenShift Container Platform 4.21 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 6.

### Is there a fix for CVE-2026-4408?

No fixed version is listed in the sources yet. Vendor workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

### How do I check if I'm affected by CVE-2026-4408?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-4408>

HTML: <https://flawdb.com/CVE-2026-4408> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-4408>
