Kludex Python-Multipart
Python-Multipart has Arbitrary File Write via Non-Default Configuration
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.0.22
Fixed in 0.0.22
Mitigation
Upgrade python-multipart to 0.0.22 or later.
References
- Vendor advisory github.com/Kludex/python-multipart/security/ad…
- Patch github.com/Kludex/python-multipart/commit/9433…
- Release notes github.com/Kludex/python-multipart/releases/ta…
Timeline
Days relative to CVE publicationFirst public PoC 93 days after publication; not in CISA KEV. First PoC: Python-Multipart 0.0.22 - Path Traversal (Exploit-DB, 30 Apr 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Python-Multipart 0.0.22 - Path Traversal | 30 Apr 2026 | 14 Nov 2026 |