Authentication Bypass and Audience Confusion in MCP Toolbox OAuth Provider
Google mcp-toolbox
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Google mcp-toolbox |
| No fix yet |
Original description
An authentication bypass and audience confusion vulnerability exists in the Google OAuth provider component of Google mcp-toolbox version 1.4.0. When a Google authService is initialized with mcpEnabled: true but lacks an explicitly defined audience or clientId, the ValidateMCPAuth pipeline for opaque tokens skips audience validation entirely. As a result, the toolbox will accept any valid Google OAuth access token—even those minted for unrelated ecosystem applications—granting unauthorized clients access to protected tools and data backends.
From the CVE record · Google