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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · Attack vector: NetworkA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Redhat Enterprise Linux+ Redhat Openshift Container Platform+ Samba Samba| https://access.redhat.com/errata/RHSA-2026:28058 |
| https://access.redhat.com/errata/RHSA-2026:28132 |
| https://access.redhat.com/errata/RHSA-2026:29799 |
| https://access.redhat.com/errata/RHSA-2026:29833 |
| https://access.redhat.com/errata/RHSA-2026:29863 |
| https://access.redhat.com/errata/RHSA-2026:56786 |
| https://access.redhat.com/errata/RHSA-2026:56853 |
| https://access.redhat.com/errata/RHSA-2026:56911 |
| https://access.redhat.com/errata/RHSA-2026:57483 |
| https://access.redhat.com/errata/RHSA-2026:59831 |
| https://access.redhat.com/errata/RHSA-2026:60019 |
| https://access.redhat.com/errata/RHSA-2026:65839 |
| https://access.redhat.com/security/cve/CVE-2026-4408 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2479762 | Issue TrackingThird Party Advisory |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4408.json |