CVE-2026-105314
7.5 HIGHpublic exploit availablePublished 2026-10-05 · Updated 2026-10-06
AI risk analysis
- Summary
- Papermerge 3.5.3 contains a directory traversal vulnerability in its document upload API that allows authenticated users to write arbitrary Python code files to the application's site-packages directory, enabling remote code execution when the Python interpreter restarts. This represents a significant security risk as it can be exploited by standard users without elevated privileges.
- Exploitability
- Exploitation requires an authenticated user account and is moderately difficult due to the need for precise directory traversal payload construction, but becomes more feasible with public exploit references available.
- Blast radius
- If exploited, this vulnerability could allow attackers to execute arbitrary code on the Papermerge server with the privileges of the application process, potentially leading to full system compromise or data exfiltration across all documents managed by the application.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Papermerge 3.5.4 or later to address this directory traversal vulnerability in the document upload API.
rcewebapidirectory-traversal
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
Papermerge 3.5.3 allows remote code execution by a standard user via directory traversal in a /api/documents/upload call. A Python .pth file can be written to site-packages, and its code is executed upon the next start of the Python interpreter.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-24
Public exploit & PoC references
- https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf
- https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce
- https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py
- https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py
All references
- https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf
- https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce
- https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py
- https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-108980PoC
- CRITICALCVE-2025-29296
- CRITICALCVE-2026-101260PoC
- CRITICALCVE-2026-101262PoC
- CRITICALCVE-2026-102794PoC
- CRITICALCVE-2026-103248PoC
- HIGHCVE-2026-104059PoC
- CRITICALCVE-2026-104076
Related by shared AI tags and CWE weakness class. Browse the full archive.