Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure operator to attacker page
-
DeliveryServe DNS-rebinding JavaScript
-
ExploitRebind hostname to 127.0.0.1:5000
-
ExecutionIssue MCP tool requests with spoofed Host
-
PersistToolbox accepts unvalidated origin
-
ImpactQuery and exfiltrate backend database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | The MCP Toolbox HTTP server (default port 5000) must be running and reachable from the victim's browser context - typically bound to 127.0.0.1 or a Docker/Cloud Run endpoint - and started without a restrictive --allowed-hosts value (the default '*' satisfies this and remains the default even after the v0.25.0 patch). A targeted operator must visit attacker-controlled web content in a browser on the same network/host while the toolbox process is active (UI:A in the CVSS 4.0 vector); the --stdio transport mode is not affected because no HTTP listener is exposed. No authentication on the toolbox itself is required (PR:N), but the attacker needs the rebinding-capable client (a normal browser with default DNS behavior suffices) and the operator's browser must permit the cross-origin request flow used by the rebind technique. |
| Impact | Vendor CVSS 4.0 of 9.4 (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H with subsequent-system impacts SC/SI/SA:H) reflects worst-case database compromise via the MCP bridge, but several real-world signals temper this: exploitation requires UI:A - a logged-in operator must visit an attacker-controlled web page while the toolbox is running - and the attack assumes the post-patch deployment did not set --allowed-hosts (the flag still defaults to '*'). No EPSS score, KEV listing, or public POC is provided in the input, and the report came from Google itself rather than from observed in-the-wild activity, suggesting this is a hardening fix rather than evidence of widespread exploitation. The most material risk is that operators upgrade to v0.25.0 yet keep defaults, leaving the underlying weakness in place - the patch is a control, not an automatic remediation. CVSS subsequent-system H impacts (SC/SI/SA:H) are credible because the toolbox proxies into backend databases, so a single successful rebind can yield direct data access. |
| Exploit ScenarioDerived | An attacker hosts a malicious web page and lures an operator whose workstation is running mcp-toolbox on 127.0.0.1:5000; the page uses short-TTL DNS rebinding to make attacker.example resolve first to the attacker's server (to deliver JavaScript) and then to 127.0.0.1, after which scripted fetch() calls reach the local toolbox with a Host header the unpatched server does not validate. The script then invokes MCP tool endpoints to enumerate and exfiltrate data from the backend databases the toolbox is configured to access. No public exploit identified at time of analysis, but DNS-rebinding tooling against localhost-bound JSON services is well-established. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 13, 2026
Missing Origin/Host header validation in Google's MCP Toolbox for Databases (Model Context Protocol server) prior to v0.25.0 allows remote attackers to reach the locally-bound HTTP server via DNS rebinding from a victim's browser, abusing the bridge to issue arbitrary tool/database commands. The fix introduces a new --allowed-hosts startup flag (companion to the existing --allowed-origins) that validates inbound Host headers, though both flags retain an insecure-by-default '*' value with only a startup warning. No public exploit identified at time of analysis; the issue was reported internally by Google.
RemediationAI
Upstream fix available via PR googleapis/mcp-toolbox#2254 merged into the v0.25.0 release; upgrade to v0.25.0 or later and, critically, set --allowed-hosts to the exact host(s) clients should use (e.g. --allowed-hosts=localhost:5000 for local use, or --allowed-hosts=$HOST for Cloud Run as shown in docs/en/how-to/deploy_toolbox.md) because the flag still defaults to the insecure '*' value and only emits a startup warning. Keep --allowed-origins similarly scoped to expected client origins rather than '*'. If immediate upgrade is not possible, compensating controls are to bind the server to a non-loopback interface behind a reverse proxy that enforces Host header validation, or to block outbound DNS resolution to RFC1918/loopback addresses from operator browsers (trade-off: breaks legitimate local development tools); restricting toolbox processes to dedicated sandboxed users limits the blast radius into the backend database when rebinding succeeds. See https://github.com/googleapis/mcp-toolbox/issues/3113 and https://github.com/googleapis/mcp-toolbox/pull/2254 for authoritative guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Model Context Protocol (MCP) is the JSON-RPC-style protocol used by AI agents to invoke tools and data sources; Google's MCP Toolbox for Databases is a Go-based reference server (cpe:2.3:a:google:mcp_toolbox_for_databases) that exposes database tooling to MCP clients, typically over HTTP bound to localhost/127.0.0.1. CWE-346 (Origin Validation Error) is the root class: before v0.25.0 the server inspected only the Origin header (via --allowed-origins) and never validated the Host header, so a victim's browser tricked by a DNS-rebinding page could resolve an attacker domain to 127.0.0.1 and submit cross-origin requests that the toolbox accepted. The PR diff in googleapis/mcp-toolbox#2254 adds an AllowedHosts slice in cmd/root.go and updates the deploy_docker/deploy_gke/deploy_toolbox docs to instruct operators to pass --allowed-hosts=<expected-host>; a TODO comment in the patch explicitly flags the default '*' as 'Insecure by default. Might consider updating this for v1.0.0.'
Know when Mcp Toolbox For Databases gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable via browser rebinding (AV:N), timing/DNS coordination raises AC:H, no toolbox auth (PR:N), victim must load attacker page (UI:R), and rebinding crosses browser→server authority (S:C) to fully compromise the proxied database.
Primary rating from Vendor (Google).
CVSS VectorVendor: Google
Lifecycle Timeline
1DescriptionCVE.org
The Model Context Protocol has a security warning advising servers to validate the "Origin" header on all incoming connections to prevent DNS rebinding attacks. Prior to the v0.25.0 release, users had no way to validate the origin's host. In v0.25.0, a new "--allowed-hosts" flag was introduced alongside the existing "--allowed-origins" flag, enabling users to specify permitted hosts at server startup. Both flags default to "*", allowing users to implement strict access controls as needed without breaking existing setups. If either flag is set to "*", the server will output a startup warning about potential vulnerabilities. Documentation has also been updated to highlight these security considerations.
Executive ViewAI
Google's MCP Toolbox for Databases (prior to version 0.25.0) has a critical host validation vulnerability that allows remote attackers to execute arbitrary database commands; no public exploit identified at time of analysis. Any organization using this component faces immediate risk of data breach or unauthorized database access. Urgent action is required to implement mitigations while awaiting vendor patch.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Set --allowed-hosts and --allowed-origins startup flags to specific, restrictive hostnames/origins instead of default '*'; (2) Restrict MCP server network access via firewall to authorized internal hosts only; (3) Implement network segmentation isolating database connections; (4) Monitor access logs for anomalous Host header values or suspicious DNS patterns; (5) Disable MCP Toolbox deployment if not actively required.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Mcp Toolbox For Databases
View allCross-origin data exposure in Google's MCP Toolbox for Databases stems from the SSE initialization handler unconditional
Path traversal in the HTTP tool URL builder of googleapis/mcp-toolbox allows unauthenticated remote attackers to escape
Symbolic-link path resolution flaw in Google MCP Toolbox for Databases 1.2.0 through 1.9.0 lets an authenticated remote
Server-side request forgery in Google's MCP Toolbox for Databases (googleapis/mcp-toolbox) versions 0.19.1 through 1.4.0
EUVD-2026-36650
GHSA-76g7-m3xw-x9gr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB