Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/kashishtopi/cve-2026-105314
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubkashishtopi/cve-2026-105314

CVE-2026-105314

Proof-of-concept for CVE-2026-105314: authenticated path traversal in Papermerge's upload API enabling arbitrary file write and root code execution via a .pth payload.

View Repository
1 month agoNot yet reviewed
Share

Papermerge-core: Authenticated Path Traversal to Arbitrary File Write (RCE)

CVE-2026-105314

Description

Papermerge is a self-hosted document manager. The document upload API builds the storage path from the uploaded filename and does not remove path traversal. Any authenticated user with the standard "user" role can upload a file whose multipart filename contains ../ sequences. The server then writes the file outside its media directory, with content the attacker controls. The official Docker image runs as root, so an attacker can write a Python .pth file into site-packages and gain code execution as root at the next interpreter start.

  • Affected: Papermerge 3.5.3
  • Endpoint: POST /api/documents/upload
  • Privilege: ordinary authenticated user (standard "user" role)

Exploit

poc.py sends two uploads with a low-privilege bearer token:

  1. Writes a file outside media_root with a traversal filename (proves arbitrary write).
  2. Writes a .pth payload into the Python site-packages for code execution on the next start.

Run:

python3 poc.py http://TARGET:PORT <BEARER_TOKEN>

Get the bearer token from a normal logged-in "user" account. Adjust the site-packages path in the script to match the target. A successful write returns HTTP 201.

Disclaimer

This proof of concept is for authorized security testing and education only. Test only systems that you own or have explicit permission to test. The author takes no responsibility for misuse.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    897
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    853
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    448
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    417
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    400

Explore all tools

Browse our collection of tools

View all tools →