CVE-2026-4480: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Red Hat Red Hat Enterprise Linux 10
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.
AI Analysis
Technical Summary
A vulnerability in the Samba printing subsystem allows remote attackers to execute arbitrary OS commands by sending a specially crafted print job description containing unescaped shell meta characters. Samba uses the "%J" substitution character to pass the job description string to the print command without proper escaping, leading to command injection. This affects Red Hat Enterprise Linux versions 8 (>=8.0.0 <8.10.0) and 10 (>=10.0.0 <10.2.0) and corresponding kernel versions. Red Hat has issued security advisories RHSA-2026:22644 and RHSA-2026:22963 providing patches that fix this vulnerability.
Potential Impact
Successful exploitation allows remote code execution with no privileges required and no user interaction, potentially leading to complete system compromise. The vulnerability has a CVSS 3.1 base score of 9.0 (critical), indicating high impact on confidentiality, integrity, and availability. There are no known exploits in the wild as of the advisory date.
Mitigation Recommendations
Red Hat has released official security updates that fix this vulnerability. Users should apply the patches provided in Red Hat Security Advisories RHSA-2026:22644 (for RHEL 8) and RHSA-2026:22963 (for RHEL 10) as soon as possible. The vendor advisory provides detailed instructions on updating Samba packages. No additional mitigation is required once the update is applied.
CVE-2026-4480: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Red Hat Red Hat Enterprise Linux 10
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.
CVSS v3.1
Score 9.0critical
Affected software
pkg:rpm/redhat/sambaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
A vulnerability in the Samba printing subsystem allows remote attackers to execute arbitrary OS commands by sending a specially crafted print job description containing unescaped shell meta characters. Samba uses the "%J" substitution character to pass the job description string to the print command without proper escaping, leading to command injection. This affects Red Hat Enterprise Linux versions 8 (>=8.0.0 <8.10.0) and 10 (>=10.0.0 <10.2.0) and corresponding kernel versions. Red Hat has issued security advisories RHSA-2026:22644 and RHSA-2026:22963 providing patches that fix this vulnerability.
Potential Impact
Successful exploitation allows remote code execution with no privileges required and no user interaction, potentially leading to complete system compromise. The vulnerability has a CVSS 3.1 base score of 9.0 (critical), indicating high impact on confidentiality, integrity, and availability. There are no known exploits in the wild as of the advisory date.
Mitigation Recommendations
Red Hat has released official security updates that fix this vulnerability. Users should apply the patches provided in Red Hat Security Advisories RHSA-2026:22644 (for RHEL 8) and RHSA-2026:22963 (for RHEL 10) as soon as possible. The vendor advisory provides detailed instructions on updating Samba packages. No additional mitigation is required once the update is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-03-19T21:17:35.193Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-4480","vendor":"Red Hat"}]
Threat ID: 6a15af1f891d628fdc46fa1a
Added to database: 05/26/2026, 14:33:03 UTC
Last enriched: 07/15/2026, 09:25:48 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 147
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.