CVE-2026-24486
January 27, 2026
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.
Affected Packages
python-multipart (CONDA):
Affected version(s) >=0.0.5 <0.0.22Fix Suggestion:
Update to version 0.0.22https://github.com/Kludex/python-multipart.git (GITHUB):
Affected version(s) >=0.0.2 <0.0.22Fix Suggestion:
Update to version 0.0.22python-multipart (PYTHON):
Affected version(s) >=0.0.1 <0.0.22Fix Suggestion:
Update to version 0.0.22Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.02