All vulnerabilities

Servers and applications

CVE-2026-4408

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…

Severity
Critical 9.8
Published
28 May 2026
Last changed
4 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.21.0
Exploit chance
47% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
SambaServers and applications · cpe:a:samba:samba
  • From 4.1.0 before 4.21.0

About Samba

free software re-implementation of the SMB networking protocol

From Wikidata, CC0 1.0.
Developer
The Samba TeamWikidata
License
GNU Lesser General Public License, version 3.0 or laterWikidata
Written in
C, C++, PythonWikidata
First released
1992Wikidata

Release lines

ReleaseLatestSecurity fixes
4.254.25.1Until 31 Mar 2028
4.244.24.8Until 30 Sept 2027
4.234.23.13Until 31 Mar 2027
4.224.22.11Ended 30 Sept 2026
4.214.21.10Ended 31 Mar 2026
4.204.20.8Ended 12 Sept 2025

From endoflife.date.

Vulnerabilities in Samba

In our list
217
Published in the last 12 months
7
Critical, last 12 months
2
High, last 12 months
1
Known exploited
2
Search the list for Samba

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-4408
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-4408