VYPR
High severityOSV Advisory· Published Jan 27, 2026· Updated Jan 27, 2026

Python-Multipart has Arbitrary File Write via Non-Default Configuration

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
python-multipartPyPI
< 0.0.220.0.22

Affected products

17

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.