CVE 8.6 HIGH

Python-Multipart has Arbitrary File Write via Non-Default Configuration_CVE-2026-24486

8.6 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L

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.

Basic Information

ID CVE-2026-24486
Source GitHub_M
Published Jan 27, 2026 at 00:34

Affected Product

Vendor Kludex
Product python-multipart
Version < 0.0.22
Affected Versions Kludex python-multipart < 0.0.22

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.