CVE-2026-4408
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.
Executive briefing
The source record describes: 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 practical risk depends on whether an affected product/version is present, reachable and configured in an exploitable way. Review the affected-product evidence and linked vendor advisories before assigning exposure status.
Evidence confidence: Moderate Evidence-derived, not an exploitability verdict
Severity & attack characteristics
CVSS vector:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Technical explanation & impact
The technical mechanism is not expanded beyond the source description unless a referenced advisory supplies additional evidence. Read the linked vendor/CERT advisories for root-cause detail.
Potential impact must be interpreted from the published CVSS impact metrics and the affected component. A CVSS impact score is not proof that a particular asset is exploitable.
Weakness classification
CWE-78Affected products and versions
Products below are parsed from NVD vulnerable CPE configuration entries. Version boundaries are shown as published; verify applicability with the vendor.
| Vendor | Product | Version evidence |
|---|---|---|
| redhat | openshift_container_platform | CPE version 4.0 |
| samba | samba | from (inclusive) 4.1.0; before 4.21.0 |
| redhat | enterprise_linux | CPE version 6.0 · CPE version 7.0 · CPE version 9.0 |
Remediation & validation
- Identify exposure by comparing the affected product and version ranges with your asset inventory, SBOM and externally exposed services.
- Review the linked vendor security advisory or patch notes. Upgrade to a vendor-confirmed fixed release; do not infer a fixed version from the CVE description.
- Until patched, consider restricting network access or disabling the affected feature where operationally safe. These are temporary controls, not a substitute for a vendor fix.
- Validate the remediation with a version check and vulnerability rescan, then retain change evidence.
No fixed version is displayed unless it is explicitly established by a vendor advisory. Follow the vendor's release notes for exact product and branch applicability.
Vendor advisories, patches & exploit references
- https://access.redhat.com/errata/RHSA-2026:22644 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:22963 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:25049 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:25979 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28053 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28054 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28055 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28056 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28057 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28058 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:28132 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:29799 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:29833 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:29863 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:56786 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:56853 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:56911 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:57483 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:59831 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:60019 VENDOR secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:65839 VENDOR secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2026-4408 ADVISORY secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2479762 ADVISORY secalert@redhat.com
- https://bugzilla.samba.org/show_bug.cgi?id=16034 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:22644 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:22963 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:25049 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:25979 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28053 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28054 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28055 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28056 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28057 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28058 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:28132 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:29799 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:29833 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:29863 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:56786 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:56853 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:56911 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:57483 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:59831 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:60019 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/errata/RHSA-2026:65839 VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://access.redhat.com/security/cve/CVE-2026-4408 ADVISORY 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://bugzilla.redhat.com/show_bug.cgi?id=2479762 ADVISORY 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json VENDOR 0b0ca135-0b70-47e7-9f44-1890c2a1c46c