---
id: CVE-2026-15829
title: >-
  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, times…
summary: >-
  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, times…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-89
  - CWE-863
vendor: google
product: mcp_toolbox_for_databases
affected:
  - 'mcp_toolbox_for_databases >= 0.13.0, <= 1.3.0'
published: '2026-07-21'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T12:50:32.350'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-15829'
references:
  - url: 'https://github.com/googleapis/mcp-toolbox/pull/3324'
    label: cve-coordination@google.com
tags:
  - nvd
epss: 0.00175
epssPercentile: 0.06187
ingestedAt: '2026-09-22T13:03:40.027Z'
---

## Overview

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

- `mcp_toolbox_for_databases >= 0.13.0, <= 1.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
