CVE-2026-105314
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 3.1
- 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.1% chance of exploitation in the next 30 days; higher than 66% of CVEs (scores of 2026-10-25)
- CWE
- CWE-24
- Published
- Modified
- Record from
- the NVD, synced
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