Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-g53w-w6mj-hrpp

MCP Gateway: Authority-injection and JWT/session bypass via the unauthenticated router hair-pin "router-key" / "mcp-init-host" path
Back to all
CVE

GHSA-g53w-w6mj-hrpp

MCP Gateway: Authority-injection and JWT/session bypass via the unauthenticated router hair-pin "router-key" / "mcp-init-host" path

Summary

 

The MCP router (ext_proc) exposes an initialize-method code path that, when a

request carries an mcp-init-host header, bypasses the gateway JWT session

validator and rewrites the upstream :authority header to whatever the caller

chooses, gated only by a single shared header value (router-key). The shared

value is

  • a literal string (secret-api-key) baked into cmd/mcp-broker-router/main.go

  as a fall-back default, and

  • in controller-managed deployments, a SHA-256 truncation of the

  MCPGatewayExtension UID — a non-secret value visible to anyone with get

  permission on the resource, and additionally exposed in argv because it is

  passed to the broker-router container via --mcp-router-key=....

A request that satisfies the trivial header check is forwarded to any backend

listener registered with the gateway (including external services such as

api.githubcopilot.com when configured), bypassing both the broker (where the

signed x-mcp-authorized capability filter is enforced) and the gateway's

JWT-based session model.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://github.com/Kuadrant/mcp-gateway/security/advisories/GHSA-g53w-w6mj-hrpp, https://github.com/Kuadrant/mcp-gateway

Severity

0

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
0
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0
Fix Available

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading