GHSA-5gf6-gc35-xjpc

Suggest an improvement
Source
https://github.com/advisories/GHSA-5gf6-gc35-xjpc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-5gf6-gc35-xjpc/GHSA-5gf6-gc35-xjpc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5gf6-gc35-xjpc
Aliases
Published
2026-06-18T15:32:02Z
Modified
2026-06-25T18:56:14Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
MCP Toolbox for Databases: authenticated authorization bypass
Details

An authenticated authorization bypass vulnerability exists in MCP Toolbox for Databases due to missing scope enforcement across older protocol handlers.

While the 2025-11-25 protocol version handler correctly enforces per-tool restrictions defined by scopesRequired, older supported protocol versions (2025-06-18, 2025-03-26, and 2024-11-05) omit this check. An authenticated client with low-privilege tokens (e.g., read) can bypass the intended per-tool scope restrictions and execute high-privilege tools (e.g., admin) simply by specifying an older protocol version in the MCP-Protocol-Version header, or by omitting the header entirely (which causes the server to default to the vulnerable 2024-11-05 handler).

Database specific
{
    "cwe_ids": [
        "CWE-862"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-19T17:00:02Z",
    "nvd_published_at": "2026-06-18T14:17:20Z",
    "severity": "HIGH"
}
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-5gf6-gc35-xjpc/GHSA-5gf6-gc35-xjpc.json"