Skip to main content

Python CVE-2026-24486

HIGH
Path Traversal (CWE-22)
2026-01-27 security-advisories@github.com GHSA-wp53-j4wj-2cfg
7.5
CVSS 3.1 · NVD
View

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – 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)
v4 Jun 30, 2026 - 05:56 cvss changed CVSS 7.5

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.

v3 Jun 30, 2026 - 05:55 cvss changed CVSS 7.5

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.

v2 Jun 30, 2026 - 05:54 cvss changed CVSS 7.5

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.

v1 Mar 12, 2026 - 21:55 CVSS 8.6

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

pypi python-multipart fix: 0.0.22

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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Red Hat 8.6 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

8
Analysis Updated
Jun 30, 2026 - 05:58 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 05:56 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 05:55 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 05:54 vuln.today
v2 - CVSS changed
CVSS changed
Jun 30, 2026 - 03:23 NVD
8.6 (HIGH) 7.5 (HIGH)
PoC Detected
Feb 17, 2026 - 20:44 vuln.today
Public exploit code
Patch released
Feb 17, 2026 - 20:44 nvd
Patch available
CVE Published
Jan 27, 2026 - 01:16 nvd
HIGH 8.6

DescriptionNVD

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

Why It Matters

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.

Recommended Action

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 93% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vendor Exploit-DB GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)NVD

cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:*

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy