CVE-2026-42561Kludex python-multipart
High 7.5 No auth needed
Follow: this CVE · Kludex · Kludex python-multipart We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- May 13, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Python-Multipart is a streaming multipart parser for Python. Prior to 0.0.27, python-multipart has a denial of service vulnerability in multipart part header parsing. When parsing multipart/form-data, MultipartParser previously had no limit on the number of part headers or the size of an individual part header. An attacker could send a request with either many repeated headers without terminating the header block or a single very large header value, causing excessive CPU work before request rejection or completion. This vulnerability is fixed in 0.0.27.
What to do
- Apply the vendor's security update for python-multipart.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | python-multipart |
< 0.0.27 |
0.0.27 |
pip install "python-multipart>=0.0.27" |
| PyPI | python-multipart |
< 0.0.27 |
0.0.27 |
pip install "python-multipart>=0.0.27" |
Per OSV / GitHub Advisories (GHSA-pp6c-gr5w-3c5g, PYSEC-2026-3039). Check the version in your lockfile before upgrading.
Affected products
- Kludex · python-multipart
- Red Hat · Red Hat Ansible Automation Platform 2.6
- Red Hat · Red Hat Ansible Automation Platform 2.7
- Red Hat · Red Hat Migration Toolkit for Applications 8.2
- Red Hat · Red Hat OpenShift AI 3.3
- Red Hat · Red Hat Satellite 6.17
- Red Hat · Red Hat Satellite 6.19
- Red Hat · Exploit Intelligence
- Red Hat · OpenShift Lightspeed
- Red Hat · Red Hat AI Inference Server
- Red Hat · Red Hat Ansible Automation Platform 2
- Red Hat · Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat · Red Hat OpenShift AI (RHOAI)
- Red Hat · Red Hat Satellite 6
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python-python-multipart · SUSE · SUSE-SU-2026:21999-1 · May 29, 2026 High
- python311-python-multipart-0.0.28-1.1 on GA media · SUSE · openSUSE-SU-2026:10797-1 · May 16, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.