Evidence · DiggingBeagle record
Gemini CLI issue #30391: stored MCP OAuth token replayed to changed server URL
Researcher issue provides local reproduction of URL-bound credential mismatch when reusing an MCP connection name.
- Source role
- primary disclosure
Evidence record
Claim-level citations (3)
- supportsGemini CLI reused a stored MCP OAuth token after its server URL changed: The reporter captured two local token-bearing POST requests reaching a replacement host. This demonstrates the destination-binding issue in the tested CLI state, but not a known production credential theft campaign. At the time reported, the related fix was still under discussion.
Primary advisory or study: reproduction, results and limitations
- supportsGemini CLI reused a stored MCP OAuth token after its server URL changed: Gemini CLI remembered OAuth credentials under an MCP server name. When a configuration change moved that named server to a different URL, the client reused the token and attached it to requests toward the new host without requiring new origin consent.
Primary advisory or study: technical mechanism and affected component
- supportsGemini CLI reused a stored MCP OAuth token after its server URL changed: Gemini CLI remembered OAuth credentials under an MCP server name. When a configuration change moved that named server to a different URL, the client reused the token and attached it to requests toward the new host without requiring new origin consent.
Gemini CLI issue #30391: stored OAuth token keyed by server name, repointed URL and two local captured POSTs