Vulnerability · Published Jan 27, 2026 · Assigned by GitHub_M
CVE-2026-24486Python-Multipart has Arbitrary File Write via Non-Default Configuration
High 8.6
In plain English
A high-severity path traversal in python-multipart from Kludex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-multipart | no fix listed | DEBIAN-CVE-2026-24486 |
| Debian:13 | python-multipart | 0.0.20-1.1~deb13u1 | DEBIAN-CVE-2026-24486 |
| Debian:14 | python-multipart | 0.0.20-1.1 | DEBIAN-CVE-2026-24486 |
| PyPI | python-multipart | 0.0.22 | GHSA-wp53-j4wj-2cfg |
| PyPI | python-multipart | 0.0.22 | PYSEC-2026-1852 |
| Ubuntu:25.10 | python-multipart | no fix listed | UBUNTU-CVE-2026-24486 |
| Ubuntu:26.04:LTS | python-multipart | no fix listed | UBUNTU-CVE-2026-24486 |
| Ubuntu:26.10 | python-multipart | no fix listed | UBUNTU-CVE-2026-24486 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kludex | python-multipart | < 0.0.22 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
References
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg x_refsource_CONFIRM
- https://github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4 x_refsource_MISC
- https://github.com/Kludex/python-multipart/releases/tag/0.0.22 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-24486 vdb-entry, x_refsource_REDHAT
- RHBZ#2433132 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24486.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:3461 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3462 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3960 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:10184 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42644 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3782 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:19712 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:3713 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:44696 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:1504 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:51357 vendor-advisory, x_refsource_REDHAT