Command injection in Samba - CVE-2026-4480

 

Command injection in Samba - CVE-2026-4480

Published: May 27, 2026


Vulnerability identifier: #VU132345
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-4480
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Samba
Affected software:
Samba

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to command injection in the Samba printing subsystem when invoking a print command that uses the %J substitution character. A remote attacker can submit crafted print job data that reaches the print command to execute arbitrary code.

Exploitation requires a Samba print server with a configured "print command" that uses the %J substitution character.


How to mitigate CVE-2026-4480

Install security update from vendor's website.

Sources