VDB
KO
CRITICAL

GHSA-76g7-m3xw-x9gr

MCP Toolbox for Databases has an Origin Validation Error

Quick fix

GHSA-76g7-m3xw-x9gr — github.com/googleapis/mcp-toolbox: upgrade to the fixed version with the command below.

go get github.com/googleapis/mcp-toolbox@v0.25.0

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/googleapis/mcp-toolbox
Introduced in: 0 Fixed in: 0.25.0
Fix go get github.com/googleapis/mcp-toolbox@v0.25.0

References