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.
Problem types
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
0:4.19.4-16.el8_10 (rpm) before *
0:4.19.4-16.el8_10 (rpm) before *
Timeline
| 2026-03-27: | Reported to Red Hat. |
| 2026-05-26: | Made public. |
Credits
Red Hat would like to thank Arjun Basnet (Securin Labs), John Walker (ZeroPath), and Ron Ben Yizhak (SafeBreach) for reporting this issue.
References
access.redhat.com/errata/RHSA-2026:22644 (RHSA-2026:22644)
access.redhat.com/security/cve/CVE-2026-4480
bugzilla.redhat.com/show_bug.cgi?id=2452232 (RHBZ#2452232)
bugzilla.samba.org/show_bug.cgi?id=16033