Original 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.
Affected software
- Papermerge = 3.5.3 repository or package match
Details
- Published
- 2026-10-05
- Last modified
- 2026-10-07
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-24
- EPSS (30-day exploit probability)
- 1.13% (percentile 67)
References
- cve.org/CVE-2026-105314
- nvd.nist.gov/vuln/detail/CVE-2026-105314
- github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-pape...
- github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router...
- github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py
- github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.