CVE-2026-4480

published 26 May 2026 · updated 16 Nov 2026

Samba: samba: remote code execution in printing subsystem via unescaped job description

10.0CriticalCVSS 9.0EPSS 29%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 29%. Fixed in Samba 4.2.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatOpenShift Container Platform
SambaSamba>=4.1.0 <4.2.14.2.1
redhatenterprise_linux=9.0, =8.0, =7.0, =10.0
redhatopenshift_container_platform=4.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Samba, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-4480 severity on Zeptric[![CVE-2026-4480](https://zeptric.io/badge/cve/CVE-2026-4480.svg)](https://zeptric.io/cve/CVE-2026-4480)