Skip to content
OpenAdvisories
High · 8.6 Public exploit CVE-2026-24486 EUVD-2026-4754GHSA-wp53-j4wj-2cfgPYSEC-2026-1852

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

Published Jan 27, 2026 · Updated Sep 16, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
Kludex python-multipart < 0.0.22 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-multipart 0.0.20-1.1 —
Debian 13 python-multipart 0.0.20-1.1~deb13u1 —
Debian 12 python-multipart No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-multipart No fix yet —
Ubuntu 26.04 LTS python-multipart No fix yet —
Ubuntu 25.10 python-multipart No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS python-multipart 0.0.9-1ubuntu0.1~esm1 USN-8027-1
Ubuntu Pro 22.04 LTS python-multipart 0.0.5-2ubuntu0.1~esm1 USN-8027-1
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-python-multipart 0.0.20-160000.3.1 SUSE-SU-2026:20188-1
SLES 16.0 python-python-multipart 0.0.20-160000.3.1 SUSE-SU-2026:20188-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 python-python-multipart 0.0.20-160000.3.1 openSUSE-SU-2026:20125-1
openSUSE Leap 15.6 python-python-multipart 0.0.9-150600.3.6.1 SUSE-SU-2026:0307-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.1.6-r4 —
Wolfi rolling open-webui 0.8.3-r0 —
Wolfi rolling py3-semgrep 1.150.0-r0 —
Wolfi rolling reflex 0.8.27-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-multipart < 0.0.22 0.0.22 GHSA-wp53-j4wj-2cfg

Advisories 5

References