CVE-2026-105314 Details
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.
A remote code execution vulnerability exists in Papermerge version 3.5.3, allowing authenticated users to exploit a directory traversal issue in the document upload API. The vulnerability arises because the API does not properly sanitize file names, enabling users to upload files with `../` sequences that traverse the directory structure. This exploitation can result in arbitrary file writes outside the intended media directory. The official Docker image of Papermerge runs as root, so an attacker could write a Python `.pth` file into the `site-packages` directory. The code within this file would be executed the next time the Python interpreter is started.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 5, 2026CISA-ADP
Assessed Oct 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-24 | Path Traversal: '../filedir' | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Papermerge | 3.5.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | CVE Modified | CISA-ADP |
| Oct 5, 2026 | New CVE Received | [email protected] |
Volerion