CVE-2026-24486
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.
How to fix
- fastapiexpert python-multipart0.0.22 or later
- python-multipart0.0.22 or later
- access.redhat.com/errata/RHSA-2026:3461
- access.redhat.com/errata/RHSA-2026:3462
- access.redhat.com/errata/RHSA-2026:3960
- access.redhat.com/errata/RHSA-2026:10184
- access.redhat.com/errata/RHSA-2026:42644
- access.redhat.com/errata/RHSA-2026:3782
- access.redhat.com/errata/RHSA-2026:19712
- access.redhat.com/errata/RHSA-2026:3713
- access.redhat.com/errata/RHSA-2026:44696
- access.redhat.com/errata/RHSA-2026:1504
- access.redhat.com/errata/RHSA-2026:51357
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fastapiexpert python-multipart | v < 0.0.22 | 0.0.22 |
| python-multipartPyPI | v < 0.0.22 | 0.0.22 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.