CVE-2026-40347: fastapiexpert python-multipart Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-40347 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in fastapiexpert python-multipart. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 17-04-2026PublishedVulnerability first disclosed.
- 20-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.42%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
+0.07 pp
From 0.35% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard15 products
- airflow-2< 2.11.2-r9
- airflow-3< 3.2.1-r0
- airflow-core-2All versions (No fix recorded)
- airflow-core-3< 3.2.1-r0
- keep-api< 0.51.0-r4 | < 0.51.0-r3
Wolfi3 products
- airflow-3< 3.2.1-r0
- kserve-storage-controller< 0.17.0-r2
- semgrep< 1.160.0-r1
Debian1 product
- python-multipartAll versions (No fix recorded) | < 0.0.26-1
Fastapiexpert1 product
- python-multipart< 0.0.26
Kludex1 product
- python-multipart< 0.0.26
Opensuse1 product
- python-python-multipart&distro=openSUSE Tumbleweed< 0.0.26-1.1
PyPI1 product
- python-multipart< 0.0.26
Ubuntu1 product
- python-multipartAll versions (No fix recorded)
8 vendors · 24 products
References
12 links- github.com/Kludex/python-multipart/security/advisories/GHSA-mj87-hwqh-73pjX Refsource CONFIRMWEBREPORTAdvisoryVendor Advisory