---
title: "CVE-2026-105314: Papermerge - Remote Code Execution"
description: "Papermerge 3.5.3 contains a remote code execution caused by directory traversal in /api/documents/upload, letting standard users write Python .pth files to site-packages and execute code on interpreter restart, exploit requires standard user privileges."
url: https://panop.io/threat-heartbeat/CVE-2026-105314/
---

# CVE-2026-105314 Papermerge - Remote Code Execution

Papermerge 3.5.3 contains a remote code execution caused by directory traversal in /api/documents/upload, letting standard users write Python .pth files to site-packages and execute code on interpreter restart, exploit requires standard user privileges.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Required

EPSS

0.90% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-105314)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Published

5 October 2026

Updated

15 October 2026

Weakness

[CWE-24](https://cwe.mitre.org/data/definitions/24.html)

## Vendor fix

Update to the latest version of Papermerge.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-105314](https://nvd.nist.gov/vuln/detail/CVE-2026-105314)
- [https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf](https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf)
- [https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce](https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce)
- [https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py](https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py)
- [https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py](https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
