Description
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.
Published: 2026-07-21
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The MCP Toolbox for Databases’ BigQuery forecasting tool builds queries by inserting client‑supplied column names directly into a formatted SQL string. This permits SQL injection (CWE‑89) and, because the tool validates only a single parameter, it also bypasses the allowedDatasets security boundary (CWE‑863). An attacker can terminate the intended string literal and inject arbitrary DML or cross‑dataset SELECT statements, thereby reading any BigQuery table for which they have permissions beyond those intended by the allowedDatasets policy.

Affected Systems

The affected product is Google’s MCP Toolbox for Databases, specifically the BigQuery forecasting command known as bigquery‑forecast. No specific version constraints are listed, meaning all releases that include the bigquery‑forecast tool are potentially impacted unless patched.

Risk and Exploitability

The CVSS score of 8.6 indicates that, if exploited, the attacker can cause a significant breach of confidentiality by exfiltrating data. The EPSS score of less than 1% suggests that the likelihood of an immediate exploit is low, and the vulnerability is not listed in the CISA KEV catalog, which reduces the chance of a known active exploit. However, because the attack vector relies on normal user input, an attacker who can craft requests to the forecast API can bypass the intended dataset restrictions and read arbitrary BigQuery tables with the permissions of the user or service account that runs the tool.

Generated by OpenCVE AI on July 30, 2026 at 17:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to a patched version of Google MCP Toolbox that validates all client‑supplied identifiers against the allowedDatasets rule before query construction.
  • Restrict the IAM roles granted to users or service accounts that invoke bigquery‑forecast so that they only possess read access to the datasets required for forecasting.
  • Implement an input‑validation layer that rejects requests containing potentially malicious characters (e.g., semicolons, quotes, newline) in the data_col, timestamp_col, or id_cols parameters.

Generated by OpenCVE AI on July 30, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Google
Google mcp Toolbox For Databases
Vendors & Products Google
Google mcp Toolbox For Databases

Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 17:00:00 +0000

Type Values Removed Values Added
Description 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.
Title SQL Injection and Security Boundary Bypass in googleapis/mcp-toolbox
Weaknesses CWE-863
CWE-89
References
Metrics cvssV4_0

{'score': 8.6, 'vector': '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'}


Subscriptions

Google Mcp Toolbox For Databases
cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published:

Updated: 2026-07-22T18:49:05.965Z

Reserved: 2026-07-15T15:00:56.723Z

Link: CVE-2026-15829

cve-icon Vulnrichment

Updated: 2026-07-22T18:33:45.444Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:15:12Z

Weaknesses
  • CWE-863

    Incorrect Authorization

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')