Home

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.

PUBLISHED Reserved 2026-03-19 | Published 2026-05-26 | Updated 2026-06-03 | Assigner redhat




CRITICAL: 9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Problem types

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

Default status
affected

0:4.19.4-16.el8_10 (rpm) before *
unaffected

Default status
affected

0:4.19.4-16.el8_10 (rpm) before *
unaffected

Default status
affected

Default status
unknown

Default status
unknown

Default status
affected

Default status
affected

Default status
affected

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) vendor-advisory

access.redhat.com/security/cve/CVE-2026-4480 vdb-entry

bugzilla.redhat.com/show_bug.cgi?id=2452232 (RHBZ#2452232) issue-tracking

bugzilla.samba.org/show_bug.cgi?id=16033

cve.org (CVE-2026-4480)

nvd.nist.gov (CVE-2026-4480)

Download JSON