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-POC — smb spooler to RCE | Kitploit
Tools/GitHubGitHub/carloseduardopm/cve-2026-4480-poc
Vulnerability AnalysisExploitationPenetration TestingCommand and ControlLearning & EducationPayload Development
GitHubcarloseduardopm/cve-2026-4480-poc

CVE-2026-4480-POC

smb spooler to RCE

View Repository
123 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 - Samba Printing Subsystem Remote Code Execution

Overview

Proof-of-concept and research material related to CVE-2026-4480, a critical Remote Code Execution (RCE) vulnerability affecting the Samba printing subsystem.

The vulnerability is caused by improper handling of user-controlled print job descriptions passed to the configured print command through the %J substitution parameter.

Vulnerability Details

  • CVE: CVE-2026-4480
  • Component: Samba Printing Subsystem
  • Type: OS Command Injection (CWE-78)
  • Impact: Remote Code Execution
  • Attack Vector: Network
  • Authentication: Depends on configuration
  • Severity: Critical

According to the Samba security advisory, the issue occurs because shell metacharacters are not properly escaped when client-controlled job descriptions are processed through the %J substitution variable.

Affected Configurations

Systems may be vulnerable when:

  • Samba is configured as a print server
Download Tool
  • The print command option is used
  • The %J substitution parameter is present in the command
  • Printing is accessible to untrusted users
  • Configurations using:

    • printing = cups
    • printing = iprint

    are not affected according to the Samba advisory.

    Technical Summary

    The vulnerability allows an attacker to influence data passed to the printing subsystem.

    Improper sanitization of the print job description may result in shell command injection when the print command is executed by Samba.

    Successful exploitation can lead to arbitrary command execution in the context of the printing service.

    References

    • Samba Security Advisory
    • CVE-2026-4480
    • Samba Bugzilla #16033

    Mitigation

    Recommended mitigations include:

    • Upgrading to a patched Samba version
    • Removing %J from print command
    • Applying vendor-provided security patches
    • Restricting access to print services

    Research Environment

    This repository was developed for:

    • Security research
    • Vulnerability analysis
    • Detection engineering
    • Educational purposes
    • Authorized laboratory environments

    Disclaimer

    This project is provided strictly for educational and research purposes.

    Do not test against systems without explicit authorization.

    The author assumes no responsibility for misuse of this material.

    Author

    Carlos Eduardo P. Meireles

    Security Researcher | CTF Player | Member of HackersOnSteroids