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.
References
| Link | Resource |
|---|---|
| https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4 | Patch |
| https://github.com/Kludex/python-multipart/releases/tag/0.0.22 | Product Release Notes |
| https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg | Exploit Vendor Advisory |
Configurations
History
17 Feb 2026, 20:44
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:fastapiexpert:python-multipart:*:*:*:*:*:python:*:* | |
| First Time |
Fastapiexpert
Fastapiexpert python-multipart |
|
| References | () https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4 - Patch | |
| References | () https://github.com/Kludex/python-multipart/releases/tag/0.0.22 - Product, Release Notes | |
| References | () https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg - Exploit, Vendor Advisory |
27 Jan 2026, 01:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-01-27 01:16
Updated : 2026-02-17 20:44
NVD link : CVE-2026-24486
Mitre link : CVE-2026-24486
CVE.ORG link : CVE-2026-24486
JSON object : View
Products Affected
fastapiexpert
- python-multipart
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
