GHSA-rww4-4w9c-7733: FastMCP: Missing Consent Verification in OAuth Proxy Callback Facilitates Confused Deputy Vulnerabilities
- Identifiers
- CVE-2026-27124GHSA-rww4-4w9c-7733
- Published
- Record updated
- Affected
- fastmcp < 3.2.0
- Fixed in
- 3.2.0
- released March 30, 2026, 1 day before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
The FastMCP OAuthProxy does not verify user consent when it receives an authorization code from the identity provider, in its _handle_idp_callback function. Because GitHub skips the consent page for previously authorized clients, an attacker can capture a GitHub authorization URL after consenting and lure a logged-in victim to open it. The victim's browser then redirects to the malicious client's callback with a valid authorization code, which the attacker can exchange for an access token to the benign MCP server tied to the victim's GitHub account. The issue was verified only for GitHubProvider, but the flaw affects any OAuth integration whose identity provider skips consent.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
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
- MediumARTEX and beyond: AI-enabled penetration testing platformsSimilar attack · Cisco Talos Blog
- InfoHow AI is changing the nature of cyberattacksSimilar attack · CSO Online
- MediumInside the loop: Five AI attack frameworks that never ask permissionSimilar attack · Elastic Security Labs
- MediumARTEX: Attackers Adopted This AI Pentesting Tool in Three Months. Leaked Secrets Are Its Fastest Way In.Similar attack · StepSecurity Blog
- MediumFBI Says North Korean Hackers Stole Over $400 Million in Crypto Using Deepfake Video CallsSimilar attack · The Hacker News