Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-53537 EUVD-2026-38324GHSA-vffw-93wf-4j4qPYSEC-2026-3041

Python-Multipart: Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters

Published Jun 22, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

Description

Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.30, parse_options_header parsed Content-Disposition (and Content-Type) headers with email.message.Message, which transparently applies RFC 2231/5987 decoding. The extended parameter syntax (filename*=charset'lang'value, name*=..., and the filename*0/filename*1 continuation form) is decoded and surfaced under the bare filename/name key, and overrides the plain parameter when both are present. RFC 7578 §4.2 explicitly forbids the filename* form in multipart/form-data. Components that follow RFC 7578, or that do not implement RFC 2231/5987 decoding for multipart/form-data (WAFs, proxies, gateways), may interpret such a header differently. An attacker can exploit that difference to smuggle a different field name or filename past an upstream inspector to the backend. This vulnerability is fixed in 0.0.30.

Affected products

VendorProductAffectedFixed
Kludex python-multipart < 0.0.30 —

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.32-1 —
Debian 13 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 No fix yet —
Ubuntu Pro 22.04 LTS python-multipart No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-python-multipart 0.0.20-160000.5.1 SUSE-SU-2026:22372-1
SLES 16.0 python-python-multipart 0.0.20-160000.5.1 SUSE-SU-2026:22372-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-python-multipart 0.0.32-1.1 openSUSE-SU-2026:11099-1
openSUSE Leap 16.0 python-python-multipart 0.0.20-160000.5.1 openSUSE-SU-2026:21066-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.2.2-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI python-multipart < 0.0.30 0.0.30 GHSA-vffw-93wf-4j4q

Advisories 3

References