Read the docs

Path traversal in Papermerge upload API allows remote code execution

Priority HIGH 68CWE-24Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0113 66th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
papermergePapermerge3.5.3—No fix listedCNA
  • 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

  1. 2026-10-05 Threatist record created from CVE-2026-105314
  2. 2026-10-05 Alias added: GHSA-5557-484j-55xw
  3. 2026-10-05 Priority changed: MEDIUM → LOW
  4. 2026-10-06 CISA SSVC decision points changed
  5. 2026-10-06 Priority changed: LOW → HIGH

References

  • 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