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.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)2.2%top 17.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12python-multipartno fix listedDEBIAN-CVE-2026-24486
Debian:13python-multipart0.0.20-1.1~deb13u1DEBIAN-CVE-2026-24486
Debian:14python-multipart0.0.20-1.1DEBIAN-CVE-2026-24486
PyPIpython-multipart0.0.22GHSA-wp53-j4wj-2cfg
PyPIpython-multipart0.0.22PYSEC-2026-1852
Ubuntu:25.10python-multipartno fix listedUBUNTU-CVE-2026-24486
Ubuntu:26.04:LTSpython-multipartno fix listedUBUNTU-CVE-2026-24486
Ubuntu:26.10python-multipartno fix listedUBUNTU-CVE-2026-24486

Affected products (as reported)

VendorProductVersions
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