Python
CVE-2026-24486
HIGH
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 30, 2026
Arbitrary file write in python-multipart prior to 0.0.22 lets remote attackers place uploaded files outside the intended upload directory by supplying a filename that begins with an absolute path (e.g. '/etc/...'). The flaw only manifests in deployments that enable the non-default options UPLOAD_DIR plus UPLOAD_KEEP_FILENAME=True, where os.path.join silently discards the configured directory. Publicly available exploit code exists (Exploit-DB 52543, GHSA-wp53-j4wj-2cfg), though EPSS is very low (0.03%, 7th percentile) and it is not in CISA KEV.
Earlier versions of this analysis (4)
Arbitrary file write in python-multipart prior to 0.0.22 lets remote unauthenticated attackers place uploaded files at attacker-chosen filesystem paths by supplying a crafted multipart filename, but only when an application enables the non-default UPLOAD_DIR plus UPLOAD_KEEP_FILENAME=True options. Publicly available exploit code exists (Exploit-DB 52543, GHSA-wp53-j4wj-2cfg) though there is no confirmed active exploitation, and EPSS is very low at 0.03%. Red Hat and SUSE have shipped distribution errata, reflecting broad downstream packaging across FastAPI/Starlette ecosystems.
Arbitrary file write in python-multipart (the streaming multipart parser behind Starlette/FastAPI and many WSGI/ASGI apps) before version 0.0.22 lets remote attackers place uploaded files at attacker-chosen filesystem paths by sending a crafted upload filename. The flaw only manifests in the non-default configuration where both UPLOAD_DIR and UPLOAD_KEEP_FILENAME=True are set and the upload is large enough to flush to disk. CVSS is 7.5 (integrity-only), EPSS is very low (0.03%), but publicly available exploit code exists (Exploit-DB 52543, GHSA-wp53-j4wj-2cfg); it is not in CISA KEV.
Arbitrary file write in python-multipart before 0.0.22 allows remote attackers to plant uploaded files at attacker-chosen filesystem paths by supplying a crafted multipart filename, but only when the library is run with the non-default options UPLOAD_DIR set and UPLOAD_KEEP_FILENAME=True. The flaw (CWE-22 path traversal) carries CVSS 7.5 with an integrity-only impact and publicly available exploit code exists (Exploit-DB 52543, GHSA-wp53-j4wj-2cfg); it is not listed in CISA KEV and its EPSS probability is very low (0.03%, 7th percentile), indicating no public exploit identified as actively used at scale. python-multipart is the multipart parser bundled with FastAPI/Starlette, so the dependency footprint is large even though the vulnerable configuration is uncommon.
Python-Multipart is a streaming multipart parser for Python. Prior to version 0.0.22, a Path Traversal vulnerability exists when using non-default configuration options UPLOAD_DIR and UPLOAD_KEEP_FILENAME=True. [CVSS 8.6 HIGH]
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Network-reachable and unauthenticated, but AC:H because exploitation depends on the non-default UPLOAD_KEEP_FILENAME=True configuration; impact is arbitrary file write so I:H, C:N/A:N.
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionNVD
Python-Multipart is a streaming multipart parser for Python. Prior to version 0.0.22, a Path Traversal vulnerability exists when using non-default configuration options UPLOAD_DIR and UPLOAD_KEEP_FILENAME=True. An attacker can write uploaded files to arbitrary locations on the filesystem by crafting a malicious filename. Users should upgrade to version 0.0.22 to receive a patch or, as a workaround, avoid using UPLOAD_KEEP_FILENAME=True in project configurations.
Executive ViewAI
python-multipart versions below 0.0.22 enable remote attackers to write files to unauthorized system directories in deployments using the UPLOAD_KEEP_FILENAME feature; publicly available exploit code exists. This could lead to system compromise or privilege escalation. Immediate patching to version 0.0.22 is required.
24 hours: Inventory deployments using python-multipart ≤0.0.21; determine if UPLOAD_KEEP_FILENAME option is enabled. 7 days: Upgrade to python-multipart 0.0.22; test thoroughly in non-production environments. 30 days: Complete production deployment; validate that file upload functionality operates correctly; document version verification.
Apply vendor patch. If immediate patching is not feasible, disable UPLOAD_KEEP_FILENAME configuration option and implement input validation to reject absolute file paths and path traversal sequences in upload filenames.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)NVD
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| openSUSE Leap 15.6 | Fixed |
GHSA-wp53-j4wj-2cfg
NVD
CVE.org
EPSS
Exploit-DB
VulDB