Directory Traversal Affecting python-multipart package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.21% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-PYTHONMULTIPART-16234023
  • published24 Apr 2026
  • disclosed27 Jan 2026

Introduced: 27 Jan 2026

CVE-2026-24486  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:26.04 python-multipart.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-multipart package and not the python-multipart package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1