CVE-2026-15829

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.
References
Link Resource
https://github.com/googleapis/mcp-toolbox/pull/3324 Patch Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:google:mcp_toolbox_for_databases:*:*:*:*:*:*:*:*

History

24 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de inyección SQL (CWE-89) y de omisión de límites de seguridad (CWE-863) en la herramienta de previsión precompilada de BigQuery (bigquery-forecast) de googleapis/mcp-toolbox. La herramienta acepta parámetros controlados por el cliente (data_col, timestamp_col e id_cols) como cadenas de texto sin formato y los interpola sin escapar a través de fmt.Sprintf directamente en una sentencia SELECT con valores de tabla AI.FORECAST generada. Aunque MCP Toolbox utiliza un mecanismo allowedDatasets para restringir las consultas, esta defensa solo valida el parámetro history_data; la consulta final ensamblada se ejecuta sin revalidación. Un atacante puede escapar de los campos de cadena literal (como timestamp_col) para inyectar un bloque de consulta válido de múltiples sentencias o de conjuntos de datos cruzados. Esto permite a un usuario no autorizado omitir el límite allowedDatasets configurado por el operador y leer tablas arbitrarias de BigQuery.

22 Sep 2026, 12:50

Type Values Removed Values Added
References () https://github.com/googleapis/mcp-toolbox/pull/3324 - () https://github.com/googleapis/mcp-toolbox/pull/3324 - Patch, Vendor Advisory
First Time Google
Google mcp Toolbox For Databases
CPE cpe:2.3:a:google:mcp_toolbox_for_databases:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.1

Information

Published : 2026-07-21 17:17

Updated : 2026-10-24 19:10


NVD link : CVE-2026-15829

Mitre link : CVE-2026-15829

CVE.ORG link : CVE-2026-15829


JSON object : View

Products Affected

google

  • mcp_toolbox_for_databases
CWE
CWE-89

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

CWE-863

Incorrect Authorization