MCP Toolbox for Databases (googleapis/mcp-toolbox): SQL injection
High8.6CVE-2026-15829 · Published Jul 21, 2026 · updated Sep 22, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| MCP Toolbox for Databases (googleapis/mcp-toolbox) Product | >= 0.13.0, <= 1.3.0 | No fix yet |
Details and references
More Google advisories
All Google| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 21 | Google Chrome: use after free | Critical9.6 | 150.0.7871.182 |
| Jul 21 | Google Chrome: remote attacker could spoof the contents of the Omnibox | Medium5.4 | 150.0.7871.182 |
| Jul 21 | Google Chrome: integer overflow | Critical9.3 | 150.0.7871.182 |
| Jul 21 | Uninitialized Use in Skia in Google Chrome prior to 150.0.7871.182 allowed a... | Low3.1 | 150.0.7871.182 |
| Jul 21 | Google Chrome: buffer overflow | High8.8 | 150.0.7871.182 |
| Jul 21 | Google Chrome: out-of-bounds read | Critical9.6 | 150.0.7871.182 |