Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to mcp-toolbox with low-privilege credentials
-
DeliveryCraft SQL using INFORMATION_SCHEMA or EXTERNAL_QUERY targeting excluded dataset
-
ExploitDry-run returns empty tableIDSet, triggering fail-open
-
ExecutionallowedDatasets check bypassed
-
ImpactRetrieve excluded dataset DDL schemas or federated row data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to be authenticated to the mcp-toolbox instance with at least low-privilege access (PR:L per CVSS vector). The bypass is specifically conditional on the allowedDatasets restriction feature being configured - if no dataset restrictions are in place, there is nothing to bypass. The attacker must craft queries using either INFORMATION_SCHEMA pseudo-views (e.g., |
| Impact | The CVSS 4.0 base score of 5.7 (Medium) with E:U reflects no observed exploitation. The vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N conveys that this is a low-complexity network-reachable flaw requiring only low privileges, with high confidentiality impact on both the vulnerable system (BigQuery dataset schemas) and subsequent systems (external federated data sources). The scope expansion to SC:H is particularly significant: EXTERNAL_QUERY can reach Cloud Spanner, Cloud SQL, or other connected data sources, meaning the blast radius extends beyond BigQuery itself. There is no KEV listing and no public exploit code, reducing urgency. However, the bypass is conceptually trivial - any authenticated toolbox user aware of the INFORMATION_SCHEMA or EXTERNAL_QUERY bypass vectors can exploit it without special tooling. Integrity and availability are unaffected. Real-world priority is moderate: organizations using mcp-toolbox with strict dataset segregation (e.g., multi-tenant deployments or datasets containing PII/sensitive schema information) face meaningful risk from insider threat or compromised service accounts. |
| Exploit ScenarioDerived | An authenticated attacker with access to the mcp-toolbox API submits a SQL query such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 31, 2026
Authorization bypass in Google mcp-toolbox's bigquery-execute-sql tool (versions 0.16.1-1.4.0) allows authenticated low-privileged users to exfiltrate DDL schemas from explicitly restricted datasets and query federated external data via EXTERNAL_QUERY connections. The fail-open logic flaw stems from the tool treating an empty tableIDSet returned by the BigQuery dry-run API - which occurs for INFORMATION_SCHEMA and EXTERNAL_QUERY constructs - as a signal to skip allowedDatasets enforcement entirely. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, though the bypass mechanism is straightforward for any authenticated toolbox user.
RemediationAI
The upstream fix is available as GitHub PR #3452 at https://github.com/googleapis/mcp-toolbox/pull/3452; operators should upgrade to a released version that incorporates this patch once tagged - a specific fix version is not confirmed from available references ('Upstream fix available (PR/commit); released patched version not independently confirmed'). The fix enforces two explicit controls: it blocks EXTERNAL_QUERY entirely when dataset restrictions are in place, and it restricts INFORMATION_SCHEMA queries to a whitelist of dataset-level views while requiring a dataset prefix in the query path. As a compensating control prior to patching, operators can restrict which SQL constructs are permitted at the network or application gateway layer by blocking queries containing the literals EXTERNAL_QUERY and INFORMATION_SCHEMA before they reach the toolbox. The trade-off is that this breaks legitimate use of these BigQuery features. Alternatively, remove or restrict the allowedDatasets configuration if it is being relied upon for security isolation - the fail-open means it provides no enforcement for the affected constructs in unpatched versions.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Google mcp-toolbox is an MCP (Model Context Protocol) server that exposes BigQuery as a tool for LLM agents. The bigquery-execute-sql component enforces dataset-level access controls via an allowedDatasets allowlist, validated by parsing tables from a BigQuery dry-run API response. The root cause (CWE-285: Improper Authorization) is a fail-open conditional in bigqueryexecutesql.go: the restriction check was gated on if len(tableIDSet) > 0, meaning queries that cause the dry-run to return zero referenced tables - specifically INFORMATION_SCHEMA pseudo-views and EXTERNAL_QUERY() federated table functions - bypassed the enforcement path entirely. INFORMATION_SCHEMA is a virtual BigQuery construct that exposes DDL metadata (table definitions, columns, views, routines) without appearing in the dry-run table list. EXTERNAL_QUERY() is a BigQuery function for federated queries against Cloud Spanner, Cloud SQL, and other sources, and similarly produces no tableIDSet entries. Affected CPE: cpe:2.3:a:google:mcp-toolbox:*:*:*:*:*:*:*:* (versions 0.16.1 through 1.4.0).
Know when Mcp Toolbox gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:U
Network-reachable, low-complexity bypass requiring authenticated (low-privilege) access; scope changes to federated external systems justify S:C with high confidentiality impact and no integrity or availability impact.
Primary rating from Vendor (Google).
CVSS VectorVendor: Google
DescriptionCVE.org
An improper authorization and security-boundary bypass vulnerability in the bigquery-execute-sql tool component of Google mcp-toolbox versions 0.16.1 through 1.4.0 allows an authenticated attacker to bypass allowedDatasets validation checks. The toolbox relies on the BigQuery dry-run API to enforce dataset restrictions, but due to a fail-open logic flaw, it bypasses validation when the API returns an empty array for specialized constructs. This allows the attacker to extract structural DDL schemas for explicitly excluded datasets via INFORMATION_SCHEMA, and access downstream federated row data via EXTERNAL_QUERY connections.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-51372
GHSA-24pp-m59v-92j8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB