A client that trusts a server’s OAuth discovery metadata to choose its token endpoint is letting the counterparty select the destination of its own credentials. In the documented FastMCP path, the machine-to-machine provider did not pin the issuer, so a hostile MCP endpoint could redirect the OAuth exchange. primary evidence distinguishes the SDK repair…
Inspect the ClaimsCase · DiggingBeagle record
FastMCP OAuth client credentials could follow attacker-advertised issuers
Certain FastMCP machine-to-machine OAuth providers could send a client secret or signed assertion to an issuer advertised by an untrusted MCP server.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
Maintainer confirms flaw and patch, but required issuer setting is opt-in and no live credential reuse documented. The impact band remains unknown: available evidence does not establish actual deployed victim outcomes or a comparable measured loss.
Assessed Oct 26, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-CP20-FASTMCP-OAUTH-ISSUER · CLM-CP20-ENRICH-FASTMCP-OAUTH-ISSUER · FastMCP OAuth issuer redirection fix is opt-in despite patched SDK
At a glance
The advisory demonstrates a credential-routing flaw; it does not establish that leaked JWT assertions were successfully reused in a production identity provider. Effective exploitability depends on provider configuration.
Limits and uncertaintyFull account
A client that trusts a server’s OAuth discovery metadata to choose its token endpoint is letting the counterparty select the destination of its own credentials. In the documented FastMCP path, the machine-to-machine provider did not pin the issuer, so a hostile MCP endpoint could redirect the OAuth exchange. primary evidence distinguishes the SDK repair from the missing-issuer configuration that can preserve exposure.
The advisory demonstrates a credential-routing flaw; it does not establish that leaked JWT assertions were successfully reused in a production identity provider. Effective exploitability depends on provider configuration.
Configure a trusted issuer and token endpoint independent of untrusted discovery; verify audience and issuer through the entire OAuth exchange, and apply the patched FastMCP release.
This is a configuration-sensitive patch. Versions 4.0.0a1 through 4.1.1 of the FastMCP client wrappers could inherit an authorization server advertised by the remote MCP endpoint. Release 4.1.2 adds explicit issuer binding and corrects reuse of stored refresh credentials, but the maintainer warns that the new issuer argument remains optional for compatibility. Therefore merely upgrading does not protect a provider instantiated without the trusted issuer. A signing key remains locally held in the private-key-JWT flow; the attacker could receive a signed assertion, whose replay depends on its audience and token policy. Rotate reusable credentials if an untrusted endpoint was contacted.
Claims & evidence
CLM-CP20-FASTMCP-OAUTH-ISSUERThe FastMCP GHSA describes client-credentials and private-key-JWT provider wrappers lacking issuer binding; upgrading alone does not activate a configured issuer check where no issuer is supplied.supported
Basis: reported finding
- supportsFastMCP OAuth issuer redirection fix is opt-in despite patched SDKrole not specified
M2M OAuth issuer-binding vulnerability; FastMCP 4.1.2 conditions; configuration limitation
CLM-CP20-ENRICH-FASTMCP-OAUTH-ISSUERFastMCP 4.1.2 added issuer-bound M2M OAuth providers, but its maintainer states that callers must explicitly configure issuer; an upgrade alone leaves a compatibility mode that can still send secrets or signed assertions to attacker-advertised authorization servers.supported
Basis: reported finding
- supportsFastMCP OAuth issuer redirection fix is opt-in despite patched SDKrole not specified
Maintainer assessment and remediation; affected 4.0.0a1–4.1.1; configuration required in 4.1.2
Unknowns and contradictions
- The advisory demonstrates a credential-routing flaw; it does not establish that leaked JWT assertions were successfully reused in a production identity provider. Effective exploitability depends on provider configuration.
Sources and citation
Material revision history
- Oct 26, 2026 · Canonical change recorded · new in release · revision 193