# CVE-2026-105314: Papermerge 3.5.3 allows remote code execution by a standard user via directory traversal in a /api/documents/upload call.

- Severity: High 7.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-10-05T07:28:30.062Z
- Modified: 2026-10-06T18:16:43.707Z
- Weaknesses: CWE-24
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- papermerge-core: 3.5.3

## References

- <https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf> (exploit, technical-description)
- <https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce> (exploit)
- <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> (technical-description)

## Sources

- CVE List: [CVE-2026-105314](https://www.cve.org/CVERecord?id=CVE-2026-105314), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-105314](https://nvd.nist.gov/vuln/detail/CVE-2026-105314), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-105314 · Whole record: https://cve.day/CVE-2026-105314.json · Rebuilt by cve.day 2026-11-25T22:59:42.099Z
