CVE-2026-4480 Details
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.
A remote code execution vulnerability exists in the Samba printing subsystem, specifically in versions 4.1 and newer. The issue arises because Samba transmits client-controlled job description strings to the command specified in the 'print command' setting, using the '%J' substitution character, without properly escaping shell meta characters. This flaw allows remote attackers to send specially crafted print job descriptions containing unescaped shell characters, potentially leading to unauthorized code execution on the affected system.
Users can remove the '%J' substitution from the 'print command' setting in the smb.conf file. After applying this change, restart the Samba service to ensure the new configuration is loaded.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | redhat-SADP |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat openshift container platform | 4.0 |
CPE
Remediation
| |
| samba samba | >= 4.1.0, < 4.2.1 |
CPE
Remediation
| |
| redhat enterprise linux | 7.0 8.0 9.0 10.0 |
CPE
Remediation
| |
Change History
21 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 1, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | redhat-SADP |
| Aug 24, 2026 | CVE Modified | redhat-SADP |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 15, 2026 | CVE Modified | [email protected] |
| Jun 10, 2026 | CVE Modified | [email protected] |
| Jun 4, 2026 | CVE Modified | [email protected] |
| Jun 3, 2026 | CVE Modified | [email protected] |
| Jun 3, 2026 | CVE Modified | [email protected] |
| Jun 1, 2026 | Initial Analysis | [email protected] |
| May 26, 2026 | New CVE Received | [email protected] |