CVE-2026-24486 in Fastapiexpert Python-Multipart
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fastapiexpert | Python-Multipart | < 0.0.22 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-24486 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-305313-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2026-01-27 |
| Last modified | 2026-08-07 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Path Traversal vulnerability exists in Python-Multipart versions prior to 0.0.22, allowing attackers to write files to arbitrary locations on the filesystem. This could lead to unauthorized file manipulation and potential system compromise. Upgrade to version 0.0.22 or disable `UPLOAD_KEEP_FILENAME=True` to mitigate the risk.
The vulnerability is triggered when an attacker uploads a file with a crafted filename that includes path traversal sequences (e.g., '../'). If the application uses the `UPLOAD_KEEP_FILENAME=True` option, the server will store the file at the specified location, potentially leading to unauthorized file writes and system compromise.
Compensating controls AI-drafted, review before use
Implement strict input validation for filenames and ensure that the `UPLOAD_KEEP_FILENAME` option is set to `False` if not absolutely necessary.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2026-24486?
A Path Traversal vulnerability exists in Python-Multipart versions prior to 0.0.22, allowing attackers to write files to arbitrary locations on the filesystem. This could lead to unauthorized file manipulation and potential system compromise. Upgrade to version 0.0.22 or disable `UPLOAD_KEEP_FILENAME=True` to mitigate the risk.
What is the CVSS score for CVE-2026-24486?
CVE-2026-24486 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 2.2%.
Is CVE-2026-24486 actively exploited?
Public exploit available for CVE-2026-24486. Exploitation risk elevated.
How do I remediate CVE-2026-24486?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2026-24486?
CVE-2026-24486 affects Fastapiexpert Python-Multipart.
What NERC-CIP standard applies to CVE-2026-24486?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the file system, which could compromise the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2026-24486?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that could allow an attacker to manipulate files on the system, which is a critical security concern for industrial control systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fastapiexpert","product":"Python-Multipart","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-07.