Missing Authentication for Critical Function in MCP Gateway - #VU139381
Published: July 26, 2026
Vulnerability details
The vulnerability allows a remote attacker to gain unauthenticated access to proxied tools and act with the user's stored secrets and OAuth tokens.
The vulnerability exists due to missing authentication for critical function in the /sse and /mcp HTTP endpoints when running the gateway in container mode with an HTTP transport. A remote attacker can send requests without authentication to gain unauthenticated access to proxied tools and act with the user's stored secrets and OAuth tokens.
The issue occurs because the bearer-token authentication middleware is not installed in container mode, and requests without an Origin header are allowed.