Red Hat Enterprise Linux 10
Samba: remote code execution in samr
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 versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:4.23.5-109.el10_2
Fixed in 0:4.21.3-114.el10_0.1
Fixed in 0:4.10.16-26.el7_9.1
Fixed in 0:4.10.16-26.el7_9.1
Fixed in 0:4.19.4-16.el8_10
Fixed in 0:4.19.4-16.el8_10
Fixed in 0:4.13.3-12.el8_4.1
Fixed in 0:4.13.3-12.el8_4.1
Fixed in 0:4.15.5-16.el8_6.1
Fixed in 0:4.15.5-16.el8_6.1
Fixed in 0:4.17.5-7.el8_8.1
Fixed in 0:4.17.5-7.el8_8.1
Fixed in 0:4.23.5-10.el9_8
Fixed in 0:4.23.5-10.el9_8
Fixed in 0:4.17.5-105.el9_2.5
Fixed in 0:4.19.4-105.el9_4.4
Fixed in 0:4.21.3-14.el9_6.1
Fixed in 412.86.202608241157-0
Fixed in 413.92.202609080414-0
Fixed in 414.92.202608172040-0
Fixed in 415.92.202608180329-0
Fixed in 416.94.202608150307-0
Fixed in 417.94.202608250221-0
Fixed in 418.94.202608142238-0
Fixed in 4.19.9.6.202606241344-0
Fixed in 4.20.9.6.202606241928-0
Fixed in 4.21.9.6.202606241859-0
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:4.23.5-109.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:4.21.3-114.el10_0.1 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:4.10.16-26.el7_9.1 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:4.10.16-26.el7_9.1 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:4.19.4-16.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:4.19.4-16.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:4.13.3-12.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:4.13.3-12.el8_4.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:4.15.5-16.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:4.15.5-16.el8_6.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:4.17.5-7.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:4.17.5-7.el8_8.1 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:4.23.5-10.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:4.23.5-10.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:4.17.5-105.el9_2.5 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:4.19.4-105.el9_4.4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:4.21.3-14.el9_6.1 or later.
Upgrade Red Hat OpenShift Container Platform 4.12 to 412.86.202608241157-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.13 to 413.92.202609080414-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.14 to 414.92.202608172040-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.15 to 415.92.202608180329-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.16 to 416.94.202608150307-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.17 to 417.94.202608250221-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.18 to 418.94.202608142238-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.19 to 4.19.9.6.202606241344-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.20 to 4.20.9.6.202606241928-0 or later.
Upgrade Red Hat OpenShift Container Platform 4.21 to 4.21.9.6.202606241859-0 or later.
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.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:22644
- Vendor advisory access.redhat.com/errata/RHSA-2026:22963
- Vendor advisory access.redhat.com/errata/RHSA-2026:25049
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:25979
- Vendor advisory access.redhat.com/errata/RHSA-2026:28053
- Vendor advisory access.redhat.com/errata/RHSA-2026:28054
- Vendor advisory access.redhat.com/errata/RHSA-2026:28055
- Vendor advisory access.redhat.com/errata/RHSA-2026:28056
Timeline
Days relative to CVE publicationFirst public PoC 67 days after publication; not in CISA KEV. First PoC: SafeBreach-Labs/ForgottenButNotGone (created 3 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| SafeBreach-Labs/ForgottenButNotGone | 3 Aug 2026 +67 d | 12 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.