RCE in Samba
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.139 (96.5th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.139 · newest: 0.139 · change: 0.000
Affected products
- Samba
- Red Hat Enterprise Linux 10 — versions 0:4.23.5-109.el10_2
- Red Hat Enterprise Linux 10.0 Extended Update Support — versions 0:4.21.3-114.el10_0.1
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 7 Extended Lifecycle Support — versions 0:4.10.16-26.el7_9.1
- Red Hat Enterprise Linux 8 — versions 0:4.19.4-16.el8_10
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — versions 0:4.13.3-12.el8_4.1
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — versions 0:4.13.3-12.el8_4.1
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — versions 0:4.15.5-16.el8_6.1
Weakness classification (CWE)
Public proof-of-concept exploits
- TheCyberGeek/CVE-2026-4480-PoC
- AlanNewberry/CVE-2026-4480-samba-print-command-injection-rce
- saitoken241/CVE-2026-4480-POC
- 0xBlackash/CVE-2026-4480
- CarlosEduardoPM/CVE-2026-4480-POC
- robinxiang/CVE-2026-4480
- timgad794/Abducted-HTB-Writeup
- Cosm3No1de/HTB-Abducted-Writeup
- ClearLotus-git/CVE-2026-4480-PoC
- Vusal777/CVE-2026-4480-exploit-poc
References
- access.redhat.com/security/cve/CVE-2026-4480 (Third Party Advisory, Mitigation, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- bugzilla.samba.org/show_bug.cgi (Issue Tracking, Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:22644 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:22963 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:25049 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:25979 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:28057 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:28058 (vendor-advisory)
- access.redhat.com/errata/RHSA-2026:28054 (vendor-advisory)
Frequently asked questions
- What is CVE-2026-4480?
- CVE-2026-4480 is a critical-severity vulnerability in Samba, classified under OS Command Injection. CVSS score: 9.0/10. Published 2026-05-26.
- How severe is CVE-2026-4480?
- Critical severity. CVSS v3 base score is 9.0 out of 10.
- Is CVE-2026-4480 known to be exploited?
- 10 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.