ADVISORIES

Debian Security Tracker

DEBIAN-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

EcosystemPackageAffected versions
Debian:12python-multipart
All versions, no fix listed
Debian:13python-multipart
All versions before 0.0.20-1.1~deb13u1 (fixed in 0.0.20-1.1~deb13u1)
Debian:14python-multipart
All versions before 0.0.20-1.1 (fixed in 0.0.20-1.1)

References