Command Injection Affecting samba package, versions [,4.24.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.5% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SAMBA-17111852
  • published31 May 2026
  • disclosed26 May 2026
  • creditUnknown

Introduced: 26 May 2026

CVE-2026-4408  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade samba to version 4.24.3 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the check password script process when the unescaped '%u' substitution character is used. An attacker can execute arbitrary commands on the system by injecting shell meta-characters into the username. This is only exploitable if the samba-dcerpcd service is started as a system service and the non-default configuration with the vulnerable script is enabled. Active Directory Domain Controllers are not affected.

CVSS Base Scores

version 4.0
version 3.1