GHSA-5h2m-4q8j-pqpj: FastMCP OAuth Proxy token reuse across MCP servers
- Identifiers
- CVE-2025-69196GHSA-5h2m-4q8j-pqpj
- Published
- Record updated
- Affected
- fastmcp < 2.14.2
- Fixed in
- 2.14.2
- released December 31, 2025, 75 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
The FastMCP OAuth Proxy ignores the client-supplied `resource` parameter in authorization and token requests and issues tokens for the `base_url` set at initialization instead. Because the tokens carry no resource information, a benign MCP server cannot verify that a token was issued for it. An attacker can run a malicious MCP server that advertises the benign proxy as its authorization server, capture the token from a victim's OAuth flow, and replay it against other MCP servers that share that authorization server.
Mitigation
To mitigate this vulnerability, it is recommended to issue tokens specifically for the MCP server submitted in the authorization URL's `resource` GET parameter. In this way, the receiving MCP server will be able to properly verify that the token was indeed issued for it, allowing it to reject tokens stolen by an attack like the one demonstrated above.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- fastmcpPyPILLM dependency since 2024-11-30 · 16 tracked dependents
Topics
Related items
- HighCVE-2026-136185: Prismor local HTTP API cross-origin requests overwrite security policiesSimilar attack · NVD/CVE Database
- MediumRecent Trends and Tactics of Agentic AI AttacksSimilar attack · Palo Alto Unit 42
- MediumCVE-2026-135564: Machine Learning: Frontend component mitigation bypass in FirefoxSimilar attack · NVD/CVE Database
- MediumFamiliar weaknesses, exploited faster: defending against agentic cyber attacksSimilar attack · UK NCSC
- MediumHackers Exploit N-able MailAssure Flaw While AI Agents Exploit MONAI Label Zero-DaySimilar attack · The Hacker News