Skip to main content

Mcpm: FastMCP Auth Integration Allows for Confused Deputy Account Takeover

0
High
Published: 08/13/2026 (08/13/2026, 17:13:14 UTC)
Source: GCVE Database
Product: mcpm

Description

FastMCP's authentication integration with Entra ID allows the FastMCP server to act both as an OAuth client and authorization server. Due to Entra ID's lack of Dynamic Client Registration support, FastMCP uses a static app registration for authorization. After a user consents to this static client, Entra ID sets a persistent authorization cookie. An attacker controlling their own MCP client can exploit this by initiating authorization flows that reuse the victim's consented static client, potentially leading to a confused deputy scenario and account takeover.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Homebrewmore threats →ghsa
mcpm
pkg:brew/mcpm
Affected versions
>=2.1.0 <2.12.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 01:55:52 UTC

Technical Analysis

FastMCP integrates with Entra ID for authentication, where the FastMCP server acts as both an OAuth client to Entra ID and an authorization server to MCP clients. Because Entra ID does not support Dynamic Client Registration, FastMCP uses a static app registration for authorization. Once a user consents to this static client, Entra ID sets a persistent browser cookie to remember authorization. An attacker with their own MCP client can initiate authorization requests that leverage the victim's consented static client, bypassing re-consent prompts and enabling a confused deputy attack that may result in account takeover.

Potential Impact

An attacker controlling their own MCP client can exploit the persistent consent cookie set by Entra ID for the FastMCP static client. This allows the attacker to reuse the victim's authorization state to gain unauthorized access, effectively resulting in an account takeover via a confused deputy attack. The impact includes unauthorized access to user accounts and potentially sensitive data accessible through the compromised authorization.

Mitigation Recommendations

A patch is available for this vulnerability. Users should apply the official fix provided by the FastMCP vendor to address the confused deputy issue. Until patched, review and restrict the use of static app registrations and consider additional validation of authorization requests to prevent reuse of consented authorization states across different MCP clients.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-mcpm-GHSA-c2jp-c369-7pvx
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6aac8e4855bf5e2cf5491402

Added to database: 09/18/2026, 01:05:12 UTC

Last enriched: 09/18/2026, 01:55:52 UTC

Last updated: 09/18/2026, 03:01:24 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses