Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · unedited
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.
In the news
Third-party coverage
Trending covered by 1 outlet this week · latest 2mo ago
Surfaced from public web coverage — external links open in a new tab.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidence
A command injection vulnerability exists in Samba's printing subsystem where the client-supplied print job description is passed to the 'print command' via the %J substitution parameter without escaping shell metacharacters. An attacker can inject arbitrary shell commands by including special characters in the print job description, leading to remote code execution.
MitigationEscape shell metacharacters in the %J parameter before passing to the print command, or disable the printing functionality if unused. Monitor for Samba security updates and apply promptly.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data
Openshift Container PlatformApplication
Affected:= 4.0
Enterprise LinuxOperating system
Affected:= 7.0= 8.0= 9.0= 10.0
SambaApplication
Affected:>= 4.1.0, < 4.2.1
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checks
Work through these to decide whether this CVE applies to you.
Identify installed Samba version
Run 'smbstatus --version' or check the package manager for the samba package version
Affected if Version is >= 4.1.0 and < 4.2.1
Verify printing subsystem is enabled
Inspect smb.conf for 'printing' or 'print command' directives in the [global] section or print-related shares
Affected if Printing is enabled and 'print command' is configured
Check print command configuration for vulnerable %J substitution
Examine the 'print command' setting in smb.conf and verify if it contains the '%J' parameter which receives the job description
Affected if A 'print command' containing '%J' is configured without shell meta character escaping
Assess print access control
Review smb.conf for 'valid users', 'guest ok', or other access controls on print shares to determine who can submit print jobs
Affected if Print access is not restricted to trusted users, allowing remote unauthenticated or untrusted attackers to submit jobs
The environment is affected if Samba version 4.1.0 through 4.2.0 is running with the print command feature enabled and the '%J' parameter in use, and print access is not restricted to trusted users.
Generated from the published advisory. Verify against your own configuration.
Check your environment
Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.
AI-assisted, checked against the advisory. Informational, not a guarantee.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped
Upgrade availableUpgrade to 4.2.1 or later
Fixed in4.2.1
Interim mitigation
Escape shell metacharacters in the %J parameter before passing to the print command, or disable the printing functionality if unused. Monitor for Samba security updates and apply promptly.
Recommended fixModerate confidence
Samba 4.2.1 or later (or equivalent patched version provided by your Linux distribution vendor)
Identify all systems running Samba versions >= 4.1.0 and < 4.2.1
Schedule a maintenance window for the upgrade
Back up all Samba configuration files (smb.conf) and printer definitions
Upgrade Samba to version 4.2.1 or later using your system's package manager (e.g., yum update samba for RHEL/CentOS, apt-get install samba for Debian/Ubuntu)
After upgrade, verify the Samba services (smbd, nmbd) restart successfully
Review print command configurations in smb.conf and ensure no custom print commands with %J substitution are in use
Test printing functionality with a basic print job to confirm the printing subsystem works correctly
Caveat Samba 4.2.x introduced significant changes to printing configuration; review the Samba release notes for any breaking changes to printing workflows or configuration syntax
Generated from the published advisory — verify against the referenced sources before acting.
Fix this in Openshift Container Platform
Scoped from the published advisory
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locally
dbcve dependency scanner
Check whether your project pulls in CVE-2026-4480 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Agent discussion
published at 80%6 agents16 Aug 2026
CVE-2026-4480 is a critical flaw in Samba's printing subsystem where the %J substitution — meant to pass the print job description to a configured print command — passes unsanitized data directly to shell execution. This bridges two security domains that should never touch: the network layer, where any client-provided string is untrusted, and the shell layer, which assumes its arguments are trusted. The vulnerability isn't just a missing escape call — it's the architectural assumption that a configured command should receive raw user data from the network.
The severity is real, but context matters enormously. Samba typically runs as the service account handling SMB authentication across the domain — the same account that Windows trusts for NTLM and Kerberos operations. Compromising this context doesn't give you just a shell; it gives you the keys to credential relay, Kerberos ticket theft, and lateral movement into the Windows infrastructure that Samba anchors. The blast radius compounds with the system's role in the trust graph, not just the technical sophistication of the exploit.
What you should do: First, determine whether the printing subsystem is even active on your Samba deployments. Many production environments disabled print servers years ago — if printing is disabled, the attack surface may be theoretical. Second, verify what user context Samba runs under. If it's a domain service account with broad trust privileges, that's your priority exposure. Third, even before patching arrives, consider whether the print command configuration can be removed entirely or sandboxed away from the Samba process. The deeper question is whether any shell command execution should be reachable from network-receivable input in modern Samba architecture — this CVE is one instance of a recurring pattern where infrastructure plumbing becomes an execution bridge.
Watch for the patch to address shell escaping on the %J substitution, but treat the broader architectural question as the real remediation: separating shell execution contexts from network input paths.
Peer-ranked notes from engineers who’ve handled CVE-2026-4480 in production — separate from our analysis above.
Know something about CVE-2026-4480?
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
The version that genuinely resolved it — not the one the vendor claimed
A config change or rule that shut the vector down
A gotcha in the upgrade path that cost you an afternoon
CVE-2026-4480 is a critical flaw in Samba's printing subsystem where the %J substitution — meant to pass the print job description to a configured print command — passes unsanitized data directly to shell execution. This bridges two security domains that should never touch: the network layer, where any client-provided string is untrusted, and the shell layer, which assumes its arguments are trusted. The vulnerability isn't just a missing escape call — it's the architectural assumption that a configured command should receive raw user data from the network.
The severity is real, but context matters enormously. Samba typically runs as the service account handling SMB authentication across the domain — the same account that Windows trusts for NTLM and Kerberos operations. Compromising this context doesn't give you just a shell; it gives you the keys to credential relay, Kerberos ticket theft, and lateral movement into the Windows infrastructure that Samba anchors. The blast radius compounds with the system's role in the trust graph, not just the technical sophistication of the exploit.
What you should do: First, determine whether the printing subsystem is even active on your Samba deployments. Many production environments disabled print servers years ago — if printing is disabled, the attack surface may be theoretical. Second, verify what user context Samba runs under. If it's a domain service account with broad trust privileges, that's your priority exposure. Third, even before patching arrives, consider whether the print command configuration can be removed entirely or sandboxed away from the Samba process. The deeper question is whether any shell command execution should be reachable from network-receivable input in modern Samba architecture — this CVE is one instance of a recurring pattern where infrastructure plumbing becomes an execution bridge.
Watch for the patch to address shell escaping on the %J substitution, but treat the broader architectural question as the real remediation: separating shell execution contexts from network input paths.
What this is
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
What belongs here
Verified mitigations, workarounds, and config changes
Version or environment caveats, and links to real fixes
No weaponised exploit code, or anything meant to cause harm
No spam, self-promotion, credentials, or personal data