8.6high
SQL Injection and Security Boundary Bypass in googleapis/mcp-toolbox
- Severity
- 8.6high CVSS:4.0 by Google
- Exploit likelihood
- 0.20% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Google MCP Toolbox for Databases (googleapis/mcp-toolbox) | from 0.13.0 up to 1.3.0 | CVE List |
| google mcp_toolbox_for_databases | from 0.13.0 up to 1.3.0 | NVD |
All scores
| 8.6high CVSS:4.0 | 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 | |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
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.
NVD (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.
References
| https://github.com/googleapis/mcp-toolbox/pull/3324 | patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15829 changed 2026-07-22 | CVE Terms of Use |
| NVD | CVE-2026-15829 changed 2026-10-24 | Public domain |