Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. python-multipart
  4. ›
  5. CVE-2026-24486

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

January 26, 2026 (updated January 29, 2026)

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.

References

  • github.com/Kludex/python-multipart
  • github.com/Kludex/python-multipart/commit/9433f4bbc9652bdde82bbe380984e32f8cfc89c4
  • github.com/Kludex/python-multipart/releases/tag/0.0.22
  • github.com/Kludex/python-multipart/security/advisories/GHSA-wp53-j4wj-2cfg
  • github.com/advisories/GHSA-wp53-j4wj-2cfg
  • nvd.nist.gov/vuln/detail/CVE-2026-24486

Code Behaviors & Features

Detect and mitigate CVE-2026-24486 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.22

Fixed versions

  • 0.0.22

Solution

Upgrade to version 0.0.22 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/python-multipart/CVE-2026-24486.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:34:58 +0000.