Skip to main content

Google mcp-toolbox CVE-2026-14538

| EUVDEUVD-2026-51372 MEDIUM
Improper Authorization (CWE-285)
2026-07-31 Google GHSA-24pp-m59v-92j8
5.7
CVSS 4.0 · Vendor: Google
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to mcp-toolbox with low-privilege credentials
  2. Delivery
    Craft SQL using INFORMATION_SCHEMA or EXTERNAL_QUERY targeting excluded dataset
  3. Exploit
    Dry-run returns empty tableIDSet, triggering fail-open
  4. Execution
    allowedDatasets check bypassed
  5. Impact
    Retrieve 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., excluded_dataset.INFORMATION_SCHEMA.COLUMNS) or the EXTERNAL_QUERY() federated function, which are the two construct classes that cause the BigQuery dry-run API to return an empty tableIDSet. No special platform, operating system, or network position is required beyond authenticated API access to the toolbox. What limits exploitation: authentication is required (unauthenticated access is not possible per PR:L), and the vulnerability only matters when allowedDatasets is actively enforced for security purposes - toolbox deployments without dataset restrictions are not affected in any meaningful sense.

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 SELECT * FROM my_excluded_dataset.INFORMATION_SCHEMA.COLUMNS targeting a dataset they are not authorized to access. The BigQuery dry-run returns an empty tableIDSet for the INFORMATION_SCHEMA construct, triggering the fail-open condition and bypassing the allowedDatasets check. The attacker successfully retrieves full column-level DDL metadata for the excluded dataset, and can follow up with EXTERNAL_QUERY to pull row data from connected federated sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mcp-toolbox 0.16.1 ≤1.4.0

Affected Packages

euvd mcp_toolbox no fix

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

Vendor (Google) PRIMARY 5.7 MEDIUM
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
vuln.today AI 7.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (Google).

CVSS VectorVendor: Google

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche MCP server tooling, not general-purpose enterprise infrastructure
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy