Live threats

All CVEs / Fastapiexpert

CVE-2026-40347Fastapiexpert Python-multipart

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Apr 18, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-834
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python-multipart.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
fastapiexpertpython-multipart< 0.0.26

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.