GHSA-wcpr-6g7x-p44r

Suggest an improvement
Source
https://github.com/advisories/GHSA-wcpr-6g7x-p44r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-wcpr-6g7x-p44r/GHSA-wcpr-6g7x-p44r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wcpr-6g7x-p44r
Aliases
Published
2026-06-18T15:32:01Z
Modified
2026-06-25T23:11:04Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
googleapis/mcp-toolbox: authentication bypass vulnerability in the generic opaque token validation path (validateOpaqueToken)
Details

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

When the toolbox validates an opaque token via an OAuth 2.0 introspection endpoint (RFC 7662), it decodes the response into an introspectResp struct. However, the subsequent claim-checking logic (validateClaims) evaluates the issuer condition as if a.issuer != "" && iss != "". If the external OAuth provider's introspection response omits the optional iss (issuer) field completely, the variable iss defaults to an empty string. This causes the conditional block to evaluate to false and be skipped silently. Consequently, the application accepts tokens issued by unauthorized or unintended third-party identity providers.

Database specific
{
    "cwe_ids":  [
        "CWE-287"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-19T16:59:25Z",
    "nvd_published_at":  "2026-06-18T14:17:20Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/googleapis/mcp-toolbox

Package

Name
github.com/googleapis/mcp-toolbox
View open source insights on deps.dev
Purl
pkg:golang/github.com/googleapis/mcp-toolbox

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-wcpr-6g7x-p44r/GHSA-wcpr-6g7x-p44r.json"