HarborGuard / CVE
Back to search
HIGHCVE-2026-24486Published Modified CNA GitHub_M

CVE-2026-24486: Python-Multipart has Arbitrary File Write via Non-Default Configuration

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.

Metrics

CVSS v3.1
8.6
Severity
HIGH
Fixed in
Affected Products
1
Affected packages
  • Kludex / python-multipart
    < 0.0.22
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L