Skip to content
OpenAdvisories
Critical · 9.0 Public exploit CVE-2026-4408 EUVD-2026-32741GHSA-jg8v-92xc-cx65

Samba: remote code execution in samr

Published May 28, 2026 · Updated Nov 4, 2026 · Assigned by redhat

Vendor: Red Hat Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 10.0 Extended Update Support Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.6 Extended Update Support Product: Red Hat OpenShift Container Platform 4.12 Product: Red Hat OpenShift Container Platform 4.13 Product: Red Hat OpenShift Container Platform 4.14 Product: Red Hat OpenShift Container Platform 4.15 Product: Red Hat OpenShift Container Platform 4.16 Product: Red Hat OpenShift Container Platform 4.17 Product: Red Hat OpenShift Container Platform 4.18 Product: Red Hat OpenShift Container Platform 4.19 Product: Red Hat OpenShift Container Platform 4.20 Product: Red Hat OpenShift Container Platform 4.21 Package: samba Package: samba Package: samba Package: samba Platform: Linux Ecosystem: Alpine Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.24.3+dfsg-1 —
Debian 13 samba 2:4.22.8+dfsg-0+deb13u2 —
Debian 12 samba 2:4.17.12+dfsg-0+deb12u4 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS samba 2:4.23.6+dfsg-1ubuntu2.1 —
Ubuntu 25.10 samba 2:4.22.3+dfsg-4ubuntu2.4 —
Ubuntu 24.04 LTS samba 2:4.19.5+dfsg-4ubuntu9.6 —
Ubuntu 22.04 LTS samba 2:4.15.13+dfsg-0ubuntu1.12 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS samba 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm2 USN-8306-2
Ubuntu Pro 18.04 LTS samba No fix yet —
Ubuntu Pro 16.04 LTS samba No fix yet —
Ubuntu Pro 14.04 LTS samba No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 samba +36 4.23.5-109.el10_2 RHSA-2026:22963
RHEL 9 ctdb +37 4.23.5-10.el9_8 RHSA-2026:25049
RHEL 8 ctdb +33 4.19.4-16.el8_10 RHSA-2026:22644
RHEL 7 ctdb +1 4.10.16-26.el7_9.1 RHSA-2026:28132
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS samba +36 4.21.3-114.el10_0.1 RHSA-2026:28055
RHEL 9.6 EUS ctdb +37 4.21.3-14.el9_6.1 RHSA-2026:25979
RHEL 9.4 E4S ctdb +24 4.19.4-105.el9_4.4 RHSA-2026:28053
RHEL 9.2 E4S ctdb +24 4.17.5-105.el9_2.5 RHSA-2026:28054
RHEL 8.8 TUS ctdb +28 4.17.5-7.el8_8.1 RHSA-2026:28056
RHEL 8.8 E4S ctdb +28 4.17.5-7.el8_8.1 RHSA-2026:28056
RHEL 8.6 EUS Long Life ctdb +21 4.15.5-16.el8_6.1 RHSA-2026:28057
RHEL 8.6 AUS ctdb +21 4.15.5-16.el8_6.1 RHSA-2026:28057
RHEL 8.4 EUS Long Life ctdb +21 4.13.3-12.el8_4.1 RHSA-2026:28058
RHEL 8.4 AUS ctdb +21 4.13.3-12.el8_4.1 RHSA-2026:28058
RHEL 7 ELS samba +24 4.10.16-26.el7_9.1 RHSA-2026:28132

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 samba +36 4.23.5-109.el10_2 ALSA-2026:22963
AlmaLinux 9 samba +36 4.23.5-10.el9_8 ALSA-2026:25049
AlmaLinux 8 ctdb +33 4.19.4-16.el8_10 ALSA-2026:22644

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 samba 4.23.5-109.el10_2 RLSA-2026:22963
Rocky Linux 9 samba 4.23.5-10.el9_8 RLSA-2026:25049
Rocky Linux 8 samba 4.19.4-16.el8_10 RLSA-2026:22644
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 samba 4.22.9+git.506.22c03ce0781-160000.1.1 SUSE-SU-2026:23152-1, SUSE-SU-2026:23129-1, SUSE-SU-2026:22080-1
SLES 16.0 samba 4.22.9+git.506.22c03ce0781-160000.1.1 SUSE-SU-2026:23152-1, SUSE-SU-2026:23129-1, SUSE-SU-2026:22080-1
SLE Micro 6.2 samba 4.22.9+git.506.22c03ce0781-160000.1.1 SUSE-SU-2026:23003-1, SUSE-SU-2026:22045-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.23.8+git.477.f78166bceed-1.1 openSUSE-SU-2026:10884-1
openSUSE Leap 16.0 samba 4.22.9+git.506.22c03ce0781-160000.1.1 openSUSE-SU-2026:21540-1, openSUSE-SU-2026:20905-1
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.23.8-r0 —
Alpine v3.23 samba 4.22.10-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +31 2:4.17.12-1.amzn2023.0.4 ALAS2023-2026-1895
Amazon Linux 2 ctdb +26 4.10.16-24.amzn2.0.7 ALAS2-2026-3493

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 samba No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 samba +36 4.23.5-109.el10_2 ELSA-2026-22963
Oracle Linux 9 samba +36 4.23.5-10.el9_8 ELSA-2026-25049
Oracle Linux 8 ctdb +34 4.19.4-16.0.1.el8_10 ELSA-2026-22644
Oracle Linux 7 ctdb +26 4.10.16-25.0.11.el7_9 ELSA-2026-28132

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • SafeBreach-Labs/ForgottenButNotGone ★ 12 · Aug 3, 2026

    proof-of-concept scripts for 2 unauthenticated RCEs in Samba (CVE-2026-4408 & CVE-2026-4480) and local privilege escalation in TelnetD (CVE-2026-28372)

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 33

References