CVE-2026-4408 Samba: remote code execution in samr
CriticalCVSS 9.8
EPSS 46.9%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | < 0:4.23.5-109.el10_2 | 0:4.23.5-109.el10_2 |
| redhat enterprise linux eus | < 0:4.21.3-114.el10_0.1 | 0:4.21.3-114.el10_0.1 |
| redhat enterprise linux | < 0:4.10.16-26.el7_9.1 | 0:4.10.16-26.el7_9.1 |
| redhat rhel els | < 0:4.10.16-26.el7_9.1 | 0:4.10.16-26.el7_9.1 |
| redhat enterprise linux | < 0:4.19.4-16.el8_10 | 0:4.19.4-16.el8_10 |
| redhat rhel aus | < 0:4.13.3-12.el8_4.1 | 0:4.13.3-12.el8_4.1 |
| redhat rhel eus long life | < 0:4.13.3-12.el8_4.1 | 0:4.13.3-12.el8_4.1 |
| redhat rhel aus | < 0:4.15.5-16.el8_6.1 | 0:4.15.5-16.el8_6.1 |
| redhat rhel eus long life | < 0:4.15.5-16.el8_6.1 | 0:4.15.5-16.el8_6.1 |
| redhat rhel e4s | < 0:4.17.5-7.el8_8.1 | 0:4.17.5-7.el8_8.1 |
| redhat rhel tus | < 0:4.17.5-7.el8_8.1 | 0:4.17.5-7.el8_8.1 |
| redhat enterprise linux | < 0:4.23.5-10.el9_8 | 0:4.23.5-10.el9_8 |
| redhat rhel e4s | < 0:4.17.5-105.el9_2.5 | 0:4.17.5-105.el9_2.5 |
| redhat rhel e4s | < 0:4.19.4-105.el9_4.4 | 0:4.19.4-105.el9_4.4 |
| redhat rhel eus | < 0:4.21.3-14.el9_6.1 | 0:4.21.3-14.el9_6.1 |
| redhat openshift | < 412.86.202608241157-0 | 412.86.202608241157-0 |
| redhat openshift | < 413.92.202609080414-0 | 413.92.202609080414-0 |
| redhat openshift | < 414.92.202608172040-0 | 414.92.202608172040-0 |
| redhat openshift | < 415.92.202608180329-0 | 415.92.202608180329-0 |
| redhat openshift | < 416.94.202608150307-0 | 416.94.202608150307-0 |
| redhat openshift | < 417.94.202608250221-0 | 417.94.202608250221-0 |
| redhat openshift | < 418.94.202608142238-0 | 418.94.202608142238-0 |
| redhat openshift | < 4.19.9.6.202606241344-0 | 4.19.9.6.202606241344-0 |
| redhat openshift | < 4.20.9.6.202606241928-0 | 4.20.9.6.202606241928-0 |
| redhat openshift | < 4.21.9.6.202606241859-0 | 4.21.9.6.202606241859-0 |
Show 94 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat rhel els | = 6 | No fix listed |
| redhat enterprise linux | = 6 | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat/samba(Red Hat:enterprise_linux:10.2) | < 4.23.5-109.el10_2 | 4.23.5-109.el10_2 |
| redhat/samba(Red Hat:enterprise_linux_eus:10.0) | < 4.21.3-114.el10_0.1 | 4.21.3-114.el10_0.1 |
| redhat/samba(Red Hat:enterprise_linux:7) | < 4.10.16-26.el7_9.1 | 4.10.16-26.el7_9.1 |
| redhat/samba(Red Hat:rhel_els:7) | < 4.10.16-26.el7_9.1 | 4.10.16-26.el7_9.1 |
| redhat/samba(Red Hat:enterprise_linux:8) | < 4.19.4-16.el8_10 | 4.19.4-16.el8_10 |
| redhat/samba(Red Hat:rhel_aus:8.4) | < 4.13.3-12.el8_4.1 | 4.13.3-12.el8_4.1 |
| redhat/samba(Red Hat:rhel_eus_long_life:8.4) | < 4.13.3-12.el8_4.1 | 4.13.3-12.el8_4.1 |
| redhat/samba(Red Hat:rhel_aus:8.6) | < 4.15.5-16.el8_6.1 | 4.15.5-16.el8_6.1 |
| redhat/samba(Red Hat:rhel_eus_long_life:8.6) | < 4.15.5-16.el8_6.1 | 4.15.5-16.el8_6.1 |
| redhat/samba(Red Hat:rhel_tus:8.8) | < 4.17.5-7.el8_8.1 | 4.17.5-7.el8_8.1 |
| redhat/samba(Red Hat:rhel_e4s:8.8) | < 4.17.5-7.el8_8.1 | 4.17.5-7.el8_8.1 |
| redhat/samba(Red Hat:enterprise_linux:9) | < 4.23.5-10.el9_8 | 4.23.5-10.el9_8 |
| redhat/samba(Red Hat:rhel_e4s:9.2) | < 4.17.5-105.el9_2.5 | 4.17.5-105.el9_2.5 |
| redhat/samba(Red Hat:rhel_e4s:9.4) | < 4.19.4-105.el9_4.4 | 4.19.4-105.el9_4.4 |
| redhat/samba(Red Hat:rhel_eus:9.6) | < 4.21.3-14.el9_6.1 | 4.21.3-14.el9_6.1 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.12::el8) | < 8:412.86.202608241157-0 | 8:412.86.202608241157-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.13::el9) | < 9:413.92.202609080414-0 | 9:413.92.202609080414-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.14::el9) | < 9:414.92.202608172040-0 | 9:414.92.202608172040-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.15::el9) | < 9:415.92.202608180329-0 | 9:415.92.202608180329-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.16::el9) | < 9:416.94.202608150307-0 | 9:416.94.202608150307-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.17::el9) | < 9:417.94.202608250221-0 | 9:417.94.202608250221-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.18::el9) | < 9:418.94.202608142238-0 | 9:418.94.202608142238-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.19::el9) | < 9:4.19.9.6.202606241344-0 | 9:4.19.9.6.202606241344-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.20::el9) | < 9:4.20.9.6.202606241928-0 | 9:4.20.9.6.202606241928-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.21::el9) | < 9:4.21.9.6.202606241859-0 | 9:4.21.9.6.202606241859-0 |
| redhat/samba(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/samba4(Red Hat:rhel_els:6) | All versions | No fix listed |
| debian/samba(Debian:12) | < 2:4.17.12+dfsg-0+deb12u4 | 2:4.17.12+dfsg-0+deb12u4 |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.10+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.11+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u1~bpo11+1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.12+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.8+dfsg-2.1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u1 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u2 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3 | No fix listed |
| debian/samba(Debian:12) | = 2:4.17.9+dfsg-0+deb12u3~bpo11+1 | No fix listed |
| debian/samba(Debian:13) | < 2:4.22.8+dfsg-0+deb13u2 | 2:4.22.8+dfsg-0+deb13u2 |
| debian/samba(Debian:13) | = 2:4.22.3+dfsg-4 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1~deb13u1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.4+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.6+dfsg-0+deb13u1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.6+dfsg-0+deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:13) | = 2:4.22.8+dfsg-0+deb13u1 | No fix listed |
| debian/samba(Debian:14) | < 2:4.24.3+dfsg-1 | 2:4.24.3+dfsg-1 |
| debian/samba(Debian:14) | = 2:4.22.3+dfsg-4 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1~deb13u1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.22.4+dfsg-1~deb13u1~bpo12+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0+dfsg-3 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.0~rc3+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.3+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.3+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.4+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.4+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.5+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.5+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.6+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.6+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.23.6+dfsg-2~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc1+dfsg-2 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc1+dfsg-3 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.0~rc2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.1+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.2+dfsg-1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.2+dfsg-1~bpo13+1 | No fix listed |
| debian/samba(Debian:14) | = 2:4.24.3+dfsg-1~bpo13+1 | No fix listed |
| ubuntu/samba(Ubuntu:22.04) | < 2:4.15.13+dfsg-0ubuntu1.12 | 2:4.15.13+dfsg-0ubuntu1.12 |
| alpine/samba(Alpine:v3.23) | >= 4.1.0, < 4.22.10-r0 | 4.22.10-r0 |
| alpine/samba(Alpine:v3.24) | >= 4.1.0, < 4.23.8-r0 | 4.23.8-r0 |
| ubuntu/samba(Ubuntu:24.04) | < 2:4.19.5+dfsg-4ubuntu9.6 | 2:4.19.5+dfsg-4ubuntu9.6 |
| ubuntu/samba(Ubuntu:26.04) | < 2:4.23.6+dfsg-1ubuntu2.1 | 2:4.23.6+dfsg-1ubuntu2.1 |
| redhat openshift container platform | = 4.0 | No fix listed |
| samba | >= 4.1.0, < 4.21.0 | 4.21.0 |
| redhat enterprise linux | = 6.0 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| azure linux samba(Azure Linux:4.0) | < 2:4.23.13-3.azl4 | 2:4.23.13-3.azl4 |
References
- RHSA-2026:22644 issue-tracking patch vendor-advisory
- RHSA-2026:22963 issue-tracking patch vendor-advisory
- RHSA-2026:25049 patch vendor-advisory
- RHSA-2026:25979 patch vendor-advisory
- RHSA-2026:28053 patch vendor-advisory
- RHSA-2026:28054 patch vendor-advisory
- RHSA-2026:28055 patch vendor-advisory
- RHSA-2026:28056 patch vendor-advisory
- RHSA-2026:28057 patch vendor-advisory
- RHSA-2026:28058 patch vendor-advisory
- RHSA-2026:28132 patch vendor-advisory
- RHSA-2026:29799 patch vendor-advisory
- RHSA-2026:29833 patch vendor-advisory
- RHSA-2026:29863 patch vendor-advisory
- RHSA-2026:56786 patch vendor-advisory
- RHSA-2026:56853 patch vendor-advisory
- RHSA-2026:56911 patch vendor-advisory
- RHSA-2026:57483 patch vendor-advisory
- RHSA-2026:59831 patch vendor-advisory
- RHSA-2026:60019 patch vendor-advisory
- RHSA-2026:65839 patch vendor-advisory
- Red Hat CVE page mitigation third-party-advisory vdb-entry vendor-advisory
- RHBZ#2479762 issue-tracking third-party-advisory
- bugzilla.samba.org issue-tracking vendor-advisory
- security.access.redhat.com
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-4408 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8306-1 vendor-advisory
- USN-8306-2 vendor-advisory
- security.alpinelinux.org vendor-advisory
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory