CVE-2026-105314 (GCVE-0-2026-105314)
Vulnerability from cvelistv5 – Published: 2026-10-05 07:28 – Updated: 2026-10-05 07:28
VLAI
EPSS
VEX
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 interpreter.
Severity
7.5 (High)
CWE
- CWE-24 - Path Traversal: '../filedir'
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/kashishtopi/cve-pocs/blob/main… | exploittechnical-description |
| https://github.com/papermerge/papermerge-core/blo… | technical-description |
| https://github.com/papermerge/papermerge-core/blo… | technical-description |
| https://github.com/kashishtopi/cve-pocs/tree/main… |
Impacted products
1 product
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Papermerge | Papermerge |
Affected:
3.5.3
(semver)
cpe:2.3:a:papermerge:papermerge:*:*:*:*:*:*:*:* |
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://pypi.org",
"defaultStatus": "unknown",
"packageName": "papermerge-core",
"packageURL": "pkg:pypi/papermerge-core",
"product": "Papermerge",
"programFiles": [
"papermerge/core/features/document/router.py",
"papermerge/core/pathlib.py",
"papermerge/storage/backends/local.py"
],
"programRoutines": [
{
"name": "upload_document"
},
{
"name": "docver_path"
},
{
"name": "LocalBackend.upload"
}
],
"repo": "https://github.com/papermerge/papermerge-core",
"vendor": "Papermerge",
"versions": [
{
"status": "affected",
"version": "3.5.3",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:papermerge:papermerge:*:*:*:*:*:*:*:*",
"versionEndIncluding": "3.5.3",
"versionStartIncluding": "3.5.3",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-24",
"description": "CWE-24 Path Traversal: \u0027../filedir\u0027",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-05T07:28:30.062Z",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"tags": [
"exploit",
"technical-description"
],
"url": "https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py"
},
{
"url": "https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce"
}
],
"x_generator": {
"engine": "CVE-Request-form 0.0.1"
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2026-105314",
"datePublished": "2026-10-05T07:28:30.062Z",
"dateReserved": "2026-10-05T07:28:29.666Z",
"dateUpdated": "2026-10-05T07:28:30.062Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-105314",
"date": "2026-10-05",
"epss": "0.00899",
"percentile": "0.58259"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://pypi.org",
"defaultStatus": "unknown",
"packageName": "papermerge-core",
"packageURL": "pkg:pypi/papermerge-core",
"product": "Papermerge",
"programFiles": [
"papermerge/core/features/document/router.py",
"papermerge/core/pathlib.py",
"papermerge/storage/backends/local.py"
],
"programRoutines": [
{
"name": "upload_document"
},
{
"name": "docver_path"
},
{
"name": "LocalBackend.upload"
}
],
"repo": "https://github.com/papermerge/papermerge-core",
"vendor": "Papermerge",
"versions": [
{
"status": "affected",
"version": "3.5.3",
"versionType": "semver"
}
]
}
],
"source": "cve@mitre.org"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"id": "CVE-2026-105314",
"lastModified": "2026-10-05T08:17:15.797",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.6,
"impactScore": 5.9,
"source": "cve@mitre.org",
"type": "Secondary"
}
]
},
"published": "2026-10-05T08:17:15.797",
"references": [
{
"source": "cve@mitre.org",
"url": "https://github.com/kashishtopi/cve-pocs/blob/main/papermerge-core-arbitrary-file-write-rce/HR-papermerge-core-path-traversal-rce.pdf"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/kashishtopi/cve-pocs/tree/main/papermerge-core-arbitrary-file-write-rce"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/features/document/router.py"
},
{
"source": "cve@mitre.org",
"url": "https://github.com/papermerge/papermerge-core/blob/master/papermerge/core/pathlib.py"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-24"
}
],
"source": "cve@mitre.org",
"type": "Primary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…