Evidence · DiggingBeagle record
FastMCP OAuthProxy concurrent authorization-code redemption advisory
FastMCP advisory reports a missing atomic consume step for OAuth authorization codes with disk and Redis stores; 4.2.4 patch.
- Source role
- primary disclosure
Evidence record
Claim-level citations (3)
- supportsFastMCP OAuth proxy could exchange one authorization code more than once: The advisory reports 18 to 20 duplicate grants in 20 local concurrent attempts under tested configurations. Release 4.2.4 changes code consumption; the attack still requires possession of an authorization code, and normal PKCE/client identity protections remain relevant.
Primary advisory or study: reproduction, results and limitations
- supportsFastMCP OAuth proxy could exchange one authorization code more than once: FastMCP OAuthProxy used a read-then-delete sequence when exchanging an authorization code. Concurrent token redemption requests could pass the check before either removed the code, so a nominally one-time grant was exchanged more than once. Both disk and Redis backends needed atomic consumption.
Primary advisory or study: technical mechanism and affected component
- supportsFastMCP OAuth proxy could exchange one authorization code more than once: FastMCP OAuthProxy used a read-then-delete sequence when exchanging an authorization code. Concurrent token redemption requests could pass the check before either removed the code, so a nominally one-time grant was exchanged more than once. Both disk and Redis backends needed atomic consumption.
GHSA-78c8-3jhx-5mg7: exchange_authorization_code get then delete, PoC 18/20 and 20/20