Skip to main content

MCP Toolbox EUVDEUVD-2026-46317

| CVE-2026-15829 HIGH
SQL Injection (CWE-89)
2026-07-21 Google GHSA-wvx3-gvxv-cmxc
8.6
CVSS 4.0 · Vendor: Google
View

Attack ChainAIDerived

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

  1. Access
    Authorized client invokes bigquery-forecast tool
  2. Delivery
    Supply crafted timestamp_col parameter
  3. Exploit
    Break out of string literal in AI.FORECAST query
  4. Execution
    Bypass allowedDatasets validation
  5. Impact
    Read arbitrary cross-dataset BigQuery tables

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target deployment (1) runs Google MCP Toolbox for Databases with the prebuilt BigQuery forecasting tool (bigquery-forecast) enabled and backed by a BigQuery source, (2) relies on the allowedDatasets mechanism to restrict which datasets clients may query, and (3) grants the attacker the ability to invoke that tool and control its data_col, timestamp_col, or id_cols parameters - consistent with PR:L, this is an authenticated/authorized low-privilege client, not an anonymous internet attacker. The attack succeeds because allowedDatasets validates only the history_data parameter and the final assembled query is executed without re-validation. Limiting factors: it is inert if the forecasting tool is not exposed, if allowedDatasets is not the trust boundary, or if the backing service account's IAM already restricts dataset access; the underlying service-account permissions cap how much data the injected query can actually reach.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N, base 8.6) indicates a network-reachable, low-complexity attack requiring only low privileges (a legitimate MCP client able to invoke the tool) and no user interaction. No EPSS score, KEV listing, or SSVC decision data was provided, and no public exploit is identified at time of analysis, so this is not evidence of active or widespread exploitation - the priority rests on the strength of the primitive, not on observed attacks. The main uncertainty is impact scope: the description centers on reading arbitrary tables (confidentiality), while the provided vector also asserts high integrity impact (VI:H); BigQuery does not support classic stacked/multi-statement DML the way some engines do, so the realistic integrity impact of the injection is unclear and should be verified against the specific AI.FORECAST query context. Overall this is a genuine authorization-bypass/data-exposure issue for anyone running the BigQuery forecasting tool with allowedDatasets as their trust boundary, but exposure is bounded by requiring an authorized (PR:L) client and by the product's relatively limited deployment footprint.

Exploit ScenarioDerived

An authorized but low-privileged agent/MCP client invokes the bigquery-forecast tool and sets a column parameter such as timestamp_col to a crafted value that closes the intended string literal and appends attacker-chosen SQL referencing a dataset outside the operator's allowedDatasets list. Because the allowedDatasets check only inspects history_data and not the final AI.FORECAST query, the injected clause executes and returns rows from tables the client should not be able to read. No public proof-of-concept is identified at time of analysis, and the low attack complexity (AC:L) means a valid client parameter is sufficient to trigger it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 21, 2026

SQL injection and security-boundary bypass in Google's MCP Toolbox for Databases (googleapis/mcp-toolbox) lets a low-privileged MCP client abuse the prebuilt BigQuery forecasting tool (bigquery-forecast) to read arbitrary BigQuery tables. The tool interpolates client-supplied column parameters (data_col, timestamp_col, id_cols) unescaped into a generated AI.FORECAST SELECT statement, and the operator-configured allowedDatasets guard only validates the history_data parameter - not the final assembled query - so an attacker breaks out of a string literal to reach datasets that should be off-limits. There is no public exploit identified at time of analysis; risk derives from the injection primitive plus the confidentiality impact of cross-dataset reads.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes from https://github.com/googleapis/mcp-toolbox/pull/3324, which introduce quote-escaping for the column/metric parameters and, critically, move the allowedDatasets validation to a dry-run of the fully assembled query so referenced tables are re-checked before execution; upgrade to the first tagged release that includes this PR once published. As compensating controls until you can upgrade: disable or unregister the BigQuery forecasting tool (bigquery-forecast) from the toolset if it is not needed; do not treat allowedDatasets as a hard security boundary for this tool and instead enforce dataset isolation at the IAM/service-account layer by granting the MCP Toolbox service account read access only to the specific datasets it legitimately needs (accepting that this narrows what any tool can query); and restrict which clients/identities may reach the MCP endpoint. Each of these reduces functionality - removing the tool eliminates forecasting, and tightening IAM may break other tools that legitimately query broader datasets - so scope them to the forecasting workflow.

Affected VersionsENISA

MCP Toolbox for Databases (googleapis/mcp-toolbox) 0.13.0 ≤1.3.0

Affected Packages

euvd mcp_toolbox_for_databases_googleapis_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

MCP Toolbox for Databases is a Google open-source server that exposes database operations to LLM/agent clients through the Model Context Protocol. The affected tool builds a BigQuery AI.FORECAST table-valued function query by concatenating user-controlled identifiers via fmt.Sprintf without escaping, which is the classic CWE-89 (improper neutralization of SQL elements) failure applied to identifier/string-literal fields. It is compounded by CWE-863 (incorrect authorization): the allowedDatasets control is a validation applied to one input (history_data) rather than to the effective query, so the authorization check and the executed statement diverge. The linked PR #3324 shows the remediation pattern - replacing NewStringParameter with NewStringParameterWithEscape ('single-quotes' escaping), swapping ValidColumnName/ContainsRune checks for stricter ValidColumnParam/ValidContributionMetricParam validators, and moving the allowedDatasets dry-run check so it validates the fully assembled query (dryRunJob.ReferencedTables) rather than a single raw parameter.

Know when Mcp Toolbox For Databases Googleapis 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 8.6 HIGH
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
vuln.today AI 7.1 HIGH

Authorized low-privilege client controls tool parameters (PR:L) over the network with low complexity; primary impact is unauthorized cross-dataset reads (C:H), with limited/uncertain integrity impact (I:L) and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/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
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A SQL injection (CWE-89) and security boundary bypass (CWE-863) vulnerability exists in the prebuilt BigQuery forecasting tool (bigquery-forecast) of googleapis/mcp-toolbox.

The tool accepts client-controlled parameters (data_col, timestamp_col, and id_cols) as plain strings and interpolates them unescaped via fmt.Sprintf directly into a generated AI.FORECAST table-valued SELECT statement. While MCP Toolbox utilizes an allowedDatasets mechanism to restrict queries, this defense only validates the history_data parameter; the final assembled query is executed without re-validation.

An attacker can break out of the string literal fields (such as timestamp_col) to inject a valid multi-statement or cross-dataset query block. This allows an unauthorized user to bypass the operator-configured allowedDatasets boundary and read arbitrary BigQuery tables.

Executive ViewAI

Why It Matters

Google's MCP Toolbox for Databases (bigquery-forecast component) contains a SQL injection vulnerability allowing authenticated users to circumvent dataset access controls and read arbitrary BigQuery tables. Organizations using this tool risk unauthorized exposure of sensitive data stored in their data warehouse, with potential regulatory and compliance implications. Immediate remediation actions are required pending vendor patch availability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the bigquery-forecast tool until patched; (2) Restrict BigQuery service account IAM permissions to read-only access on an explicitly whitelisted set of required datasets; (3) Enable query audit logging and implement monitoring for unusual cross-dataset access patterns; (4) Implement network-level segmentation to restrict MCP client connectivity; (5) Conduct forensic analysis of BigQuery query logs spanning the discovery date backward to determine if exploitation occurred.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
emerging Google open-source MCP database tooling, limited production footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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