CVE-2026-105314
Papermerge 3.5.3 allows remote code execution by a standard user …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-pape
- github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce
- github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router
- github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py
- nvd.nist.gov/vuln/detail/CVE-2026-105314
- cve.org/CVERecord?id=CVE-2026-105314
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.