VDB

CVE-2026-4408

CVE-2026-4408 PUBLISHED CVSS 9 CRITICAL

Samba: remote code execution in samr

Reported by redhat · Published May 28, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
samba-test-libserrata.rockylinux.org4.23.5-109.el10, 4.23.5-10.el9, 4.19.4-16.el8
samba-toolserrata.rockylinux.org4.23.5-10.el9, 4.19.4-16.el8
samba-libs-debuginfoerrata.rockylinux.org4.23.5-10.el9
libsmbclient-develerrata.rockylinux.org4.23.5-109.el10, 4.23.5-10.el9, 4.19.4-16.el8
samba-winbind-modules-debuginfoerrata.rockylinux.org4.23.5-109.el10
samba-winexeerrata.rockylinux.org4.19.4-16.el8
libwbclienterrata.rockylinux.org4.23.5-109.el10, 4.23.5-10.el9
python3-samba-dc-debuginfoerrata.rockylinux.org4.23.5-109.el10
samba-winbind-moduleserrata.rockylinux.org4.19.4-16.el8
libwbclient-develerrata.rockylinux.org4.23.5-109.el10, 4.23.5-10.el9, 4.19.4-16.el8
samba-common-toolserrata.rockylinux.org4.23.5-109.el10
samba-krb5-printing-debuginfoerrata.rockylinux.org4.23.5-10.el9

45 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
Red HatRed Hat Enterprise Linux 100:4.23.5-109.el10_2
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support0:4.21.3-114.el10_0.1
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support0:4.10.16-26.el7_9.1
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle Support0:4.10.16-26.el7_9.1
Red HatRed Hat Enterprise Linux 80:4.19.4-16.el8_10
Red HatRed Hat Enterprise Linux 80:4.19.4-16.el8_10
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.13.3-12.el8_4.1
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:4.13.3-12.el8_4.1
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:4.15.5-16.el8_6.1
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:4.15.5-16.el8_6.1
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service0:4.17.5-7.el8_8.1
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:4.17.5-7.el8_8.1
Red HatRed Hat Enterprise Linux 90:4.23.5-10.el9_8
Red HatRed Hat Enterprise Linux 90:4.23.5-10.el9_8
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:4.17.5-105.el9_2.5
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:4.19.4-105.el9_4.4
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support0:4.21.3-14.el9_6.1
Red HatRed Hat OpenShift Container Platform 4.12412.86.202608241157-0
Red HatRed Hat OpenShift Container Platform 4.13413.92.202609080414-0
Red HatRed Hat OpenShift Container Platform 4.14414.92.202608172040-0

…and 220 more

Timeline

  • May 26, 2026 CVE Published
  • May 28, 2026 EPSS Score (24 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (23 in total, the first dated here)
  • Jun 4, 2026 Distribution Patch (25 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-4408
vulnetix vdb fixes CVE-2026-4408

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-4408/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 5 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›