CVE-2026-4480Samba: samba: remote code execution in printing subsystem via unescaped job description
- 9.0CriticalCVSS base score
- 28.7%Exploitation in 30 daysEPSS · top 1.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it.
Show the exploits1
Nuclei templates1 template
- Samba Printing Subsystem - Remote Code Execution (Nuclei template) (opens in a new tab)
javascript/cves/2026/CVE-2026-4480.yamlSeverity critical
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 2 months later
· 2 months later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Critical9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| redhat-SADPADP (enrichment) | 3.1 | Critical9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 28.7% · top 1.8% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.0.
Affected products
Red Hat · Red Hat Enterprise Linux 10
- unaffected 0:4.23.5-109.el10_2 – < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Support
- unaffected 0:4.21.3-114.el10_0.1 – < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Support
- unaffected 0:4.10.16-26.el7_9.1 – < *
Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Support
- unaffected 0:4.10.16-26.el7_9.1 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.19.4-16.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:4.19.4-16.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- unaffected 0:4.13.3-12.el8_4.1 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- unaffected 0:4.13.3-12.el8_4.1 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- unaffected 0:4.15.5-16.el8_6.1 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- unaffected 0:4.15.5-16.el8_6.1 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- unaffected 0:4.17.5-7.el8_8.1 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- unaffected 0:4.17.5-7.el8_8.1 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:4.23.5-10.el9_8 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:4.23.5-10.el9_8 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- unaffected 0:4.17.5-105.el9_2.5 – < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- unaffected 0:4.19.4-105.el9_4.4 – < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support
- unaffected 0:4.21.3-14.el9_6.1 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: unaffected
What to do
Workaround: Remove ```"%J"``` from the "print command" in ```smb.conf``` entry.
References
References15
- RHSA-2026:22644 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:22963 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:25049 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:25979 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28053 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28054 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28055 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28056 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28057 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28058 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:28132 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-4480 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2452232 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://bugzilla.samba.org/show_bug.cgi?id=16033 (opens in a new tab)
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4480.json (opens in a new tab)x_sadp-csaf-vex
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-31828 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-4480)Record last updated .