Skip to main content
VulnerabilityPublished Updated

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

Affects gptmeSource GCVE Database

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

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

Data as of 5 Nov 2026, 00:01 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.31.0_8
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 4 Nov 2026.

What to do

Upgrade gptme to 0.31.0_8.

Affected software

ProductAffectedFixed in
Homebrewgptmepkg:brew/gptmeOther threatsAffected
  • >=0.28.0 <0.31.0_8
Fixed in
  • 0.31.0_8

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 0.31.0_8 or later to apply the official fix. If immediate upgrade is not possible, mitigate exposure by enforcing request body size limits at the server, proxy, or framework level, although this is only a partial mitigation and does not address the underlying parser limits issue.

Description

python-multipart versions from 0.28.0 up to but not including 0.31.0_8 contain a denial of service vulnerability in multipart part header parsing. The MultipartParser did not limit the number or size of part headers, allowing attackers to cause excessive CPU usage by sending requests with many repeated headers or very large header values. This can lead to worker or event-loop delays in ASGI applications using frameworks like Starlette or FastAPI. The issue is fixed in version 0.31.0_8.

References

Community reviews

Loading reviews…