{"id":"CVE-2026-105314","title":"Papermerge 3.5.3 allows remote code execution by a standard user via directory traversal in a /api/documents/upload call","summary":"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 inte…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-24"],"vendor":"Papermerge","product":"papermerge-core","affected":["papermerge-core 3.5.3"],"published":"2026-10-05","updated":"2026-10-06","sourceUpdated":"2026-10-06T18:16:43.707","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-105314","references":[{"url":"https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf","label":"cve@mitre.org"},{"url":"https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce","label":"cve@mitre.org"},{"url":"https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py","label":"cve@mitre.org"},{"url":"https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py","label":"cve@mitre.org"}],"tags":["nvd","exploit-available","cve.org"],"epss":0.0113,"epssPercentile":0.66225,"exploits":{"github":1,"githubRepos":["https://github.com/kashishtopi/CVE-2026-105314"],"checkedAt":"2026-10-27T16:54:25.974Z"},"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-06T16:58:51.998241Z"},"ingestedAt":"2026-10-05T08:15:34.901Z","slug":"CVE-2026-105314","body":"## Overview\n\nPapermerge 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":41.3,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":216144,"id":"CVE-2026-105314","ts":1791254801987,"field":"exploit_available","old":"false","new":"true"}]}