CVE-2026-15829: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Google MCP Toolbox for Databases (googleapis/mcp-toolbox)
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.
AI Analysis
Technical Summary
The vulnerability in googleapis/mcp-toolbox version 0.13.0 involves improper neutralization of special elements in SQL commands (CWE-89) and a security boundary bypass (CWE-863) in the BigQuery forecasting tool (bigquery-forecast). Client-controlled parameters such as data_col, timestamp_col, and id_cols are directly interpolated into SQL queries via fmt.Sprintf without escaping, enabling attackers to break out of string literals and inject multi-statement or cross-dataset queries. Although an allowedDatasets mechanism exists, it only validates the history_data parameter and does not re-validate the final assembled query, allowing unauthorized data access across BigQuery datasets.
Potential Impact
Exploitation of this vulnerability allows an attacker with limited privileges to perform SQL injection attacks that bypass dataset access controls configured by the operator. This can lead to unauthorized reading of arbitrary BigQuery tables beyond the intended scope, potentially exposing sensitive data. The vulnerability has a CVSS 4.0 base score of 8.6, indicating high severity with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
A patch is available for this vulnerability. Since the product is a cloud service, the vendor (Google) manages remediation server-side. Users should verify with the vendor advisory that their instance is updated to a patched version or that the service is protected. Until patched, avoid using the affected version 0.13.0 of MCP Toolbox for Databases. No additional mitigation steps are specified in the advisory.
CVE-2026-15829: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Google MCP Toolbox for Databases (googleapis/mcp-toolbox)
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.
CVSS v4.0
Score 8.6high
Affected software
pkg:github/googleapis/mcp-toolboxRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in googleapis/mcp-toolbox version 0.13.0 involves improper neutralization of special elements in SQL commands (CWE-89) and a security boundary bypass (CWE-863) in the BigQuery forecasting tool (bigquery-forecast). Client-controlled parameters such as data_col, timestamp_col, and id_cols are directly interpolated into SQL queries via fmt.Sprintf without escaping, enabling attackers to break out of string literals and inject multi-statement or cross-dataset queries. Although an allowedDatasets mechanism exists, it only validates the history_data parameter and does not re-validate the final assembled query, allowing unauthorized data access across BigQuery datasets.
Potential Impact
Exploitation of this vulnerability allows an attacker with limited privileges to perform SQL injection attacks that bypass dataset access controls configured by the operator. This can lead to unauthorized reading of arbitrary BigQuery tables beyond the intended scope, potentially exposing sensitive data. The vulnerability has a CVSS 4.0 base score of 8.6, indicating high severity with network attack vector, low attack complexity, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
A patch is available for this vulnerability. Since the product is a cloud service, the vendor (Google) manages remediation server-side. Users should verify with the vendor advisory that their instance is updated to a patched version or that the service is protected. Until patched, avoid using the affected version 0.13.0 of MCP Toolbox for Databases. No additional mitigation steps are specified in the advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Date Reserved
- 2026-07-15T15:00:56.723Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a5fa8792a4a8d59897734d3
Added to database: 07/21/2026, 17:12:25 UTC
Last enriched: 07/21/2026, 17:27:13 UTC
Last updated: 07/21/2026, 20:11:29 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.