CVE-2026-4480
🟠 MediumSamba (print command %J substitution) (scanner: samba-common,samba-dsdb-modules,python3-samba,libwbclient0,libsmbclient,smbclient,samba-libs,samba-common-bin) · RHEL 7 ELS/8/9/10 and EUS/AUS/SAP variants affected by default; unaffected from fixed samba RPMs (e.g. 0:4.23.5-109.el10_2, 0:4.23.5-10.el9_8, 0:4.19.4-16.el8_10); upstream Samba range not stated
98.18th percentile
Exploitation
Timeline
- 26/05/2026CVE record published (CVE List)
Risk
Fix
Official description
A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE-78