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.

Project Subscriptions

Vendors Products
Papermerge Subscribe
Papermerge Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 05 Oct 2026 09:45:00 +0000

Type Values Removed Values Added
Title Arbitrary File Write Leading to Remote Code Execution via Directory Traversal in Papermerge

Mon, 05 Oct 2026 08:00:00 +0000

Type Values Removed Values Added
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.
First Time appeared Papermerge
Papermerge papermerge
Weaknesses CWE-24
CPEs cpe:2.3:a:papermerge:papermerge:*:*:*:*:*:*:*:*
Vendors & Products Papermerge
Papermerge papermerge
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-05T07:28:30.062Z

Reserved: 2026-10-05T07:28:29.666Z

Link: CVE-2026-105314

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-05T08:17:15.797

Modified: 2026-10-05T08:17:15.797

Link: CVE-2026-105314

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T09:30:10Z

Weaknesses