A critical vulnerability in Google’s MCP Toolbox for Databases is putting enterprise database systems at serious risk.
Tracked as CVE-2026-9739 and carrying a CVSS 4.0 score of 9.4, the flaw enables unauthenticated attackers to launch DNS rebinding attacks against organizations using the Server-Sent Events (SSE) transport mechanism, potentially gaining unauthorized command-level access to connected databases.
The vulnerability stems from a hardcoded Access-Control-Allow-Origin: * header that was accidentally left in the SSE initialization handler.
Critical MCP Toolbox Vulnerability
During MCP Toolbox’s beta phase, Google’s engineers introduced allowed-origins and allowed-hosts flags to comply with MCP security guidelines.
However, the wildcard CORS header was inadvertently retained, silently overriding those protections for any user connecting via SSE under MCP specification v2024-11-05.
Classified under CWE-942 (Permissive Cross-domain Policy with Untrusted Domains), the flaw has a network-based attack vector, requires no privileges, and carries high impact across confidentiality, integrity, and availability.
An unauthenticated attacker can exploit this flaw by conducting DNS rebinding attacks that specifically target Chrome users, tricking the browser into treating an attacker-controlled domain as a trusted local resource.
Once successful, the attacker can bypass CORS protections, establish unauthorized SSE connections to the Toolbox interface, and potentially execute arbitrary commands against enterprise databases including Cloud SQL, AlloyDB, and Spanner.
A broader pattern of DNS rebinding flaws has emerged across MCP implementations, including CVE-2026-34742 in the Go MCP SDK and CVE-2026-35568 in the MCP Java SDK, underscoring a systemic weakness in how MCP servers handle origin validation.
Patch and Mitigations
Google acknowledged the issue on May 27, 2026, and made a patch available by May 28, 2026, via a GitHub advisory. The fix is tracked in GitHub issue #3053 and pull request #3054 under the googleapis namespace.
Security teams should act immediately:
- Disable SSE-based Toolbox connections if they are not operationally required
- Enforce strict CORS headers to ensure
Access-Control-Allow-Origin: *is explicitly removed from all SSE handler configurations - Restrict Toolbox endpoints to trusted internal networks and implement DNS rebinding protections via firewall rules or DNS filtering.
- Audit all MCP-connected AI agent pipelines for exposed Toolbox instances, particularly in cloud-hosted environments
There is currently no publicly available proof-of-concept code or active exploitation in the wild, though the critical CVSS score and broad enterprise exposure make rapid patching essential.
Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyberpress as a Preferred Source in Google.