CVE-2026-105314 Path traversal in Papermerge
A standard user can achieve remote code execution by uploading a malicious Python file via directory traversal in the document upload API.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-105314?
CVE-2026-105314 is a high-severity path traversal vulnerability in Papermerge, published on 5 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-24
Which versions are affected by CVE-2026-105314?
How do I fix CVE-2026-105314?
No fix has been published for CVE-2026-105314 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-105314 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-105314 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-5557-484j-55xw.