Skip to main content
VulnerabilityPublished Updated

CVE-2026-42561: Cycode · python-multipart has Denial of Service via unbounded multipart part headers

Affects cycodeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-42561· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 3.15.0 soon.

Data as of 19 Nov 2026, 19:48 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.15.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.

What to do

Upgrade cycode to 3.15.0.

Affected software

ProductAffectedFixed in
Homebrewcycodepkg:brew/cycodeOther threatsAffected
  • >=3.2.0 <3.15.0
Fixed in
  • 3.15.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade python-multipart to version 3.15.0 or later to apply the official fix that enforces limits on multipart part header count and size. If immediate upgrade is not possible, mitigate exposure by enforcing request body size limits at the server, proxy, or framework level. Note that this is only a partial mitigation as affected versions still parse headers without limits.

Description

The python-multipart library has a denial of service vulnerability in its multipart part header parsing. Specifically, it lacks limits on the number and size of multipart part headers, allowing an attacker to cause excessive CPU usage by sending requests with many repeated headers or very large header values. This affects applications parsing multipart/form-data, including ASGI frameworks like Starlette and FastAPI. The issue is fixed in python-multipart version 3.15.0 and later.

References

Community reviews

Loading reviews…