High severity · published Oct 5, 2026
CVE-2026-105314
Papermerge 3.5.3 allows remote code execution by a standard user via directory traversal in a /api/documents/upload call
7.5
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
Papermerge · Papermerge
3.5.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-105314
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-105314
exploit
https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf
technical-description
https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py
technical-description
https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py
github.com
https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce
More from Papermerge
6.1
CVE-2020-29456
Multiple cross-site scripting (XSS) vulnerabilities in Papermerge before 1.5.2 allow remote attackers to inject arbitrary web script or HTML via the rename, tag, upload, or create…
