Mcp proxy: Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
Affects mcp-proxySource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 0.10.0_1 soon.
Data as of 4 Nov 2026, 07:12 UTC
- Patch
- Available – fixed in 0.10.0_1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Oct 2025
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 3 Nov 2026.
What to do
Upgrade mcp-proxy to 0.10.0_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmcp-proxypkg:brew/mcp-proxyOther 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
A fix is available in Starlette version 0.10.0_1. Users should upgrade to this version or later to remediate the vulnerability. No additional mitigation steps are required if the application is updated. If upgrading is not immediately possible, consider disabling or restricting use of Range headers on file-serving endpoints as a temporary measure.
Description
Starlette's FileResponse component contains a vulnerability in its HTTP Range header parsing logic that leads to quadratic-time complexity. An unauthenticated attacker can craft a Range header with many small, disjoint ranges to cause CPU exhaustion per request, resulting in denial-of-service (DoS) conditions for endpoints serving files. This affects any Starlette application using FileResponse or StaticFiles, as well as frameworks built on Starlette such as FastAPI when serving files. The vulnerability is fixed in Starlette version 0.10.0_1.
References
- github.com/Kludex/starlette/security/advisories/GHSA-7f5h-v6xp-fcq8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-62727 (opens in a new tab)
- github.com/Kludex/starlette/commit/4ea6e22b489ec388d6004cfbca52dd5b147127c5 (opens in a new tab)
- github.com/Kludex/starlette/commit/69ed26a85956ef4bd0161807eb27abf49be7cd3c (opens in a new tab)
- github.com/Kludex/starlette (opens in a new tab)
- github.com/Kludex/starlette/releases/tag/0.49.1 (opens in a new tab)