Skip to content
MediumVulnerability

GHSA-4gph-2hhr-5mwg: Envoy AI Proxy - MCP Message Smuggling Vulnerability

Published
Record updated
View JSON
Affected
  • github.com/envoyproxy/ai-gateway < 0.6.0
Fixed in
0.6.0
  • released May 5, 2026, 14 days before disclosure

Summary

Envoy AI Gateway's MCP proxy parses JSON-RPC 2.0 messages case-insensitively, contrary to the MCP-mandated case-sensitive matching, via `jsonrpc.DecodeMessage` in `github.com/modelcontextprotocol/go-sdk` and the `internal/json` wrapper around `github.com/bytedance/sonic`. An attacker can send a message with a case-variant `Name` field alongside `name`, and the gateway re-serializes it with the injected value, so the upstream backend receives a different tool call (e.g. `backend__secretTool` instead of `backend__greet`), potentially bypassing authorization checks applied earlier.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.