Path traversal in Papermerge upload API allows remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Papermerge, from version 3.5.3, has a path traversal flaw (CWE-24) in the /api/documents/upload endpoint. A standard user with low privileges can use directory traversal to write a Python .pth file into site-packages, and its code runs the next time the Python interpreter starts, allowing remote code execution. A proof-of-concept exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| papermerge | Papermerge | 3.5.3 | — | No fix listed | CNA |
- Papermerge Vendorpapermerge Affected 3.5.3 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Papermerge.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-05 Threatist record created from CVE-2026-105314
- 2026-10-05 Alias added: GHSA-5557-484j-55xw
- 2026-10-05 Priority changed: MEDIUM → LOW
- 2026-10-06 CISA SSVC decision points changed
- 2026-10-06 Priority changed: LOW → HIGH
References
More papermerge vulnerabilities
- TI-2025-09371 Papermerge DMS Authorization Token improper authorization CVSS 4.0MEDIUM 5.3
- TI-2026-74117 Missing authorization in Papermerge Core shared nodes API CVSS 4.0HIGH 7.7
- TI-2026-74116 Missing authorization in Papermerge Core page management and OCR CVSS 4.0HIGH 7.7
- TI-2020-17690 Multiple cross-site scripting (XSS) vulnerabilities in Papermerge before 1.5.2 allow… CVSS 3.1MEDIUM 6.1
- TI-2026-74118 Missing authorization in Papermerge Core exposes other groups' tags CVSS 4.0LOW 2.3
Sources
- CVE-2026-105314 · CVE Program
- CVE-2026-105314 · NVD
- FIRST EPSS
- GHSA-5557-484j-55xw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences