CVE-2026-11624
Description
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.
How to fix
- github.com/googleapis/mcp-toolbox0.25.0 or later
- github.com/googleapis/genai-toolbox0.25.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/googleapis/mcp-toolboxGo | v < 0.25.0 | 0.25.0 |
| github.com/googleapis/genai-toolboxGo | v < 0.25.0 | 0.25.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.