Skip to content
CVSS 9.0 · CRITICAL

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 NVD

Analysis

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

LinuxBackendCyberSecurityCloudKubernetesDocker

Severity

Score: 9.0(CRITICAL)
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
AV: NETWORK
AC: HIGH
PR: NONE
UI: NONE
S: CHANGED
C: HIGH
I: HIGH
A: HIGH
Weakness (CWE): CWE-78

EPSS

Probability of exploitation (next 30 days): 0.0039 (0.4%)
Percentile: 60.2%
EPSS: 2026-06-03

Affects

redhat:openshift_container_platformsamba:sambaredhat:enterprise_linux

Technical 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: 5/26/2026, 3:16:40 PM
Last modified: 6/3/2026, 9:16:13 AM

References

HomeEventsBlogResourcesTeam