NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Other MCP servers and tools

CVE-2026-9739: MCP Toolbox for Databases vulnerable to DNS rebinding attacks

criticalCVSS 4.0 9.4GHSA-7pf3-8xx7-rvhf

MCP Toolbox for Databases (github.com/googleapis/mcp-toolbox) before 1.2.0 sends a hardcoded Access-Control-Allow-Origin: * header on its SSE endpoint. A web page can use DNS rebinding to reach a local Toolbox and use its database tools. Upgrade to 1.2.0.

Published May 28, 2026 · Updated Jul 1, 2026 · Analysis Nov 2, 2026

What an attacker can do

During the beta, the project added allowed-origins and allowed-hosts flags to follow MCP security guidance. The SSE initialization handler still set Access-Control-Allow-Origin: *, which made those flags moot for SSE. The header exists only in the SSE path used under MCP specification v2024-11-05.

The attack needs a user to visit a malicious page while Toolbox runs on their machine or network. With DNS rebinding, the page's hostname is switched to point at the local address. The wildcard header lets the page's script read responses, so it can open an SSE session and call the tools that Toolbox exposes.

Toolbox is a bridge from AI agents to databases. Whatever the configured tools can do, such as run queries, read tables or change data, the attacker can do with the credentials Toolbox holds. The CVSS 4.0 vector rates the user-interaction need as active and all impacts high. Teams that connect agents to Toolbox over SSE, rather than other transports, are the ones at risk.

Who is affected

Affected: github.com/googleapis/mcp-toolbox before 1.2.0, for clients that connect over SSE under specification v2024-11-05.

go list -m github.com/googleapis/mcp-toolbox

If you run the prebuilt binary or container, check the version it prints at startup, and review whether any client uses the SSE endpoint.

github.com/googleapis/mcp-toolbox

Ecosystem
Go
Affected
< 1.2.0
Fixed in
1.2.0
Check
go list -m github.com/googleapis/mcp-toolbox

How to fix it

Upgrade to mcp-toolbox 1.2.0, released 2026-05-07. The fix, pull request 3054, removes the hardcoded Access-Control-Allow-Origin header from the SSE handler. A regression test now checks the allowed origin and host values.

The sources name no workaround. Until you upgrade, avoid the SSE transport, bind Toolbox to loopback only, and keep it off networks that untrusted browsers can reach.

How to tell if you were hit

Check access logs for SSE connections to Toolbox that carry an unexpected Origin or Host header, such as an attacker's domain resolving to 127.0.0.1. Also review the database's own query logs for tool-driven queries at times when no agent session was active. Responses from a vulnerable build contain Access-Control-Allow-Origin: * on the SSE endpoint, which you can test with curl.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Vulnerable to DNS rebinding attacks when using SSE (http://b/499408790). During the beta phase, we implemented allowed-origins and allowed-hosts flags to align with MCP security guidelines. However, the hardcoded Access-Control-Allow-Origin: * header in the SSE initialization handler was inadvertently retained. This vulnerability specifically impacts users connecting via Toolbox using SSE under specification v2024-11-05.

Questions

Which MCP Toolbox version fixes CVE-2026-9739?

1.2.0. It removes the hardcoded wildcard Access-Control-Allow-Origin header from the SSE handler.

Are non-SSE connections affected?

The advisory says the issue specifically affects users connecting through SSE under specification v2024-11-05.

Why did the allowed-origins flag not protect me?

The flags were added in the beta, but the SSE initialization handler kept its hardcoded wildcard header, so the browser's cross-origin check never blocked the page.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Other MCP servers and tools vulnerabilities

All Other MCP servers and tools entries