CVE-2026-40347Fastapiexpert Python-multipart
Medium 5.3 No auth needed
Follow: this CVE · Fastapiexpert · Fastapiexpert Python-multipart We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 18, 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:L
What happens
Python-Multipart is a streaming multipart parser for Python. Versions prior to 0.0.26 have a denial of service vulnerability when parsing crafted `multipart/form-data` requests with large preamble or epilogue sections. Upgrade to version 0.0.26 or later, which skips ahead to the next boundary candidate when processing leading CR/LF data and immediately discards epilogue data after the closing boundary.
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.26 |
0.0.26 |
pip install "python-multipart>=0.0.26" |
| PyPI | python-multipart |
< 0.0.26 |
0.0.26 |
pip install "python-multipart>=0.0.26" |
Per OSV / GitHub Advisories (GHSA-mj87-hwqh-73pj, PYSEC-2026-3038). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fastapiexpert | python-multipart | < 0.0.26 |
Official advisories
- Security update for python-python-multipart · SUSE · SUSE-SU-2026:21999-1 · May 29, 2026 High
- python311-python-multipart-0.0.26-1.1 on GA media · SUSE · openSUSE-SU-2026:10597-1 · Apr 21, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes
- github.com Vendor Advisory