GitHub Advisoryadvisory · Go

GHSA-8fcc-w5hv-4gxv googleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken)

CRITICAL Published 2026-06-18 Modified 2026-06-19 Official page ↗
Aliases
CVE-2026-11717
Ecosystem
Go
Packages
github.com/googleapis/mcp-toolbox
Severity
Critical
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-287
Reviewed
2026-06-19

Affected packages

• Go github.com/googleapis/mcp-toolbox: < 1.4.0 → fixed in 1.4.0

Description

An authentication bypass vulnerability exists in the generic opaque token validation path (validateOpaqueToken) of googleapis/mcp-toolbox. When verifying an unparsed opaque token via an OAuth 2.0 introspection endpoint (RFC 7662), the toolbox decodes the response into an introspectResp struct where the Active field is declared as a pointer to a boolean (*bool). The code only explicitly rejects a token if the response contains a populated active field set to false (if introspectResp.Active != nil && !*introspectResp.Active). If an introspection endpoint responds with a payload that completely omits the mandatory active key, the internal variable remains nil, causing the conditional check to short-circuit. As a result, Toolbox accepts authorization tokens missing the "active" field, granting access to protected tools and underlying data sources.

Related

Alias · CVE (1)

  • CVE-2026-11717 An authentication bypass vulnerability exists in the generic opaque token validation path (validateOpaqueToken) of googleapis/mcp-toolbox. vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References