Ubuntu CVE Tracker
UBUNTU-CVE-2026-24486
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:22.04:LTS | python-multipart | All versions before 0.0.5-2ubuntu0.1~esm1 (fixed in 0.0.5-2ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | python-multipart | All versions before 0.0.9-1ubuntu0.1~esm1 (fixed in 0.0.9-1ubuntu0.1~esm1) |
| Ubuntu:25.10 | python-multipart | All versions, no fix listed |
| Ubuntu:26.10 | python-multipart | All versions, no fix listed |
| Ubuntu:26.04:LTS | python-multipart | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-24486
- https://www.cve.org/CVERecord?id=CVE-2026-24486
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg
- https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4
- https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4
- https://github.com/Kludex/python-multipart/releases/tag/0.0.22
- https://ubuntu.com/security/notices/USN-8027-1