Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-4480 — CVE-2026-4480 | Kitploit
Tools/GitHubGitHub/0xblackash/cve-2026-4480
Vulnerability AnalysisExploitationCommand and ControlPapers & ResearchLearning & EducationCurated Resources
GitHub0xblackash/cve-2026-4480

CVE-2026-4480

CVE-2026-4480

View Repository
133 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

🚨 CVE-2026-4480 - Critical Remote Code Execution in Samba Printing Subsystem

ChatGPT Image Jun 8, 2026, 10_46_54 AM

Remote Code Execution (RCE)
Samba Print Command Injection Vulnerability


"A single print job name should never become a shell command."


📖 Overview

CVE-2026-4480 is a critical command injection vulnerability affecting Samba's printing subsystem.

Under specific configurations, Samba may pass a user-controlled print job name (%J) into a shell command without sufficient sanitization, potentially allowing an attacker to execute arbitrary commands on the affected server.


🎯 Vulnerability Details

CVE-2026-4480

🔍 Root Cause

The issue occurs when Samba is configured with a custom printing command similar to:

root@kitploit:~
print command = lp -t %J %s

The %J parameter expands to the print job name supplied by a client.

If this value reaches a shell interpreter without proper escaping or validation, special characters may alter command execution behavior.


⚡ Potential Impact

Successful exploitation may allow an attacker to:

  • 💀 Execute arbitrary operating system commands
  • 📂 Access sensitive files
  • 🗑️ Delete or modify data
  • 🦠 Deploy malware or backdoors
  • 🔑 Escalate privileges depending on service configuration
  • 🌐 Fully compromise the server

📦 Affected Versions

BranchVulnerable Before
4.22.x< 4.22.10
4.23.x< 4.23.8
4.24.x< 4.24.3

✅ Fixed Versions

root@kitploit:~
Samba 4.22.10
Samba 4.23.8
Samba 4.24.3
and newer releases

🛡️ Mitigation

Immediate Actions

root@kitploit:~
+ Upgrade Samba immediately
+ Review all print command configurations
+ Restrict access to shared printers
+ Disable unnecessary printing services
+ Monitor logs for suspicious print job names

🔎 Detection

Check for custom print commands:

root@kitploit:~
grep -Ri "print command" /etc/samba/

Review results for usage of:

root@kitploit:~
%J

inside shell-executed commands.


📊 Attack Surface

root@kitploit:~
Attacker
    │
    ▼
Submit Print Job
    │
    ▼
User-Controlled Job Name (%J)
    │
    ▼
Shell Command Execution
    │
    ▼
Remote Code Execution

🧠 Technical Classification


📚 References

  • Samba Security Advisory
  • NIST National Vulnerability Database
  • CWE-78: OS Command Injection

⚠️ Disclaimer

This repository is provided for:

  • Security awareness
  • Vulnerability research
  • Defensive validation
  • Patch verification

No exploit code or offensive tooling is included.


🔐 Security Research • Vulnerability Intelligence • Responsible Disclosure

⭐ If this repository helped your research, consider giving it a star.

Download Tool
FieldValue
CVE IDCVE-2026-4480
Severity🔴 Critical
CVSS Score10.0
CWECWE-78
TypeOS Command Injection
ImpactRemote Code Execution
Affected ProductSamba
Disclosure Year2026
CategoryValue
CWE78
Attack VectorNetwork
Privileges RequiredLow / Configuration Dependent
User InteractionNone
Confidentiality ImpactHigh
Integrity ImpactHigh
Availability ImpactHigh