CVE-2026-4480
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.
View on NVDAnalysis
A critical RCE vulnerability in Samba allows attackers to execute arbitrary shell commands by sending crafted print job descriptions. This affects systems using Samba for print services, including Red Hat Enterprise Linux and OpenShift deployments.
Relevant roles
Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HCWE-78EPSS
Affects
redhat:openshift_container_platformsamba:sambaredhat:enterprise_linuxTechnical 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.