CVE-2026-4480: Samba: samba: remote code execution in printing subsystem via unescaped job 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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-4480 is a critical Samba printing flaw where a remote user can place shell metacharacters in a print job description. On affected Red Hat systems, this can lead to remote code execution when the configured print command uses the vulnerable job-description substitution.
Executive priority
Prioritize remediation as critical where Samba printing is enabled. The business risk is remote command execution on file or print infrastructure, which can affect confidentiality, integrity, and availability. Lack of confirmed exploitation reduces emergency certainty, not technical severity.
Technical view
Samba passes the client-controlled print job description into the configured print command through the %J substitution without escaping shell metacharacters. Red Hat maps this to CWE-78 with CVSS 3.1 score 9.0. Listed affected packages include samba builds across RHEL 7 ELS, 8, 9, 10, and selected EUS/AUS/TUS/E4S streams.
Likely exposure
Exposure is most likely on Red Hat systems running affected samba packages with Samba printing enabled and print command behavior using %J. OpenShift Container Platform 4 rhcos is listed as unaffected. RHEL 6 samba and samba4 status is listed as unknown in the provided data.
Exploitation context
The provided sources describe unauthenticated remote exploitation potential, but high attack complexity. KEV is false, and no cited source in the bundle confirms active exploitation. Treat internet- or broadly network-reachable Samba printing services as higher priority.
Researcher notes
The key condition is shell injection through %J in print command handling. Avoid assuming impact for unlisted distributions or configurations. Validate exposure by package, RHEL lifecycle stream, Samba printing configuration, and whether print jobs can be submitted remotely.
Mitigation direction
Apply the applicable Red Hat RHSA update for each affected RHEL stream.
Inventory samba package versions against the affected package list.
Check Red Hat and Samba guidance for supported workarounds if patching is delayed.
Reduce unnecessary network exposure to Samba printing services.
Prioritize systems where Samba accepts print jobs from untrusted networks.
Validation and detection
Confirm installed samba package versions on all RHEL hosts.
Review Samba configuration for printing and print command usage.
Verify each host maps to a fixed Red Hat advisory package.
Check asset inventory for RHEL 7 ELS, 8, 9, 10, and extended streams.
Document RHEL 6 status as unknown pending vendor confirmation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
7Timeline events
2ADP providers
16Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.