CVE-2026-53537: python-multipart · Content-Disposition parameter smuggling via RFC 2231/5987 extended parameters
Affects gptmeSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 0.31.0_12 when convenient.
Data as of 5 Nov 2026, 00:01 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.31.0_12
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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_12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptmepkg:brew/gptmeOther threats | Affected
| Fixed in
|
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_12 or later. This version ignores RFC 2231/5987 extended parameters (name*, filename*, and their continuations), ensuring the plain name and filename parameters remain authoritative as mandated by RFC 7578 §4.2. No other mitigation is required as the fix addresses the root cause.
Description
The python-multipart library versions from 0.28.0 up to but not including 0.31.0_12 improperly parse Content-Disposition headers with RFC 2231/5987 extended parameters in multipart/form-data requests. This allows an attacker to smuggle different field names or filenames past upstream inspectors by exploiting interpretation differences, potentially bypassing access controls or causing path traversal if filenames are unsafely used. The issue is fixed in version 0.31.0_12 by ignoring these extended parameters, aligning with RFC 7578 which forbids them in multipart/form-data.
References
- github.com/Kludex/python-multipart/security/advisories/GHSA-vffw-93wf-4j4q (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-53537 (opens in a new tab)
- github.com/Kludex/python-multipart (opens in a new tab)
- github.com/advisories/GHSA-vffw-93wf-4j4q (opens in a new tab)
- github.com/pypa/advisory-database/blob/main/vulns/python-multipart/PYSEC-2026-3041.yaml (opens in a new tab)
- pypi.org/project/python-multipart (opens in a new tab)