Directory Traversal Affecting python-multipart package, versions <0.0.20-1.1~deb13u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ECHOLATEST-PYTHONMULTIPART-18318528
  • published26 Jul 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?

Upgrade Echo:latest python-multipart to version 0.0.20-1.1~deb13u1 or higher.

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 Echo. See How to fix? for Echo:latest 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