Skip to main content
← All vulnerabilities
CVE-2026-24486GHSA-WP53-J4WJ-2CFGPYSEC-2026-1852

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.22
1 on Exploit-DB
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Public exploit on Exploit-DB

    EDB-52543

  4. Record last updated

Affected versions

  • Kludex python-multipart

    fixed in 0.0.22

  • python-multipartPyPI

    fixed in 0.0.22

References 4

GitHub · Kludex/python-multipart

Exploit-DB