{"answers":{"affected":"3 open source packages ship an affected version, including github.com/Kuadrant/mcp-gateway.","exploited":"There is no known exploitation of GHSA-g53w-w6mj-hrpp in the wild and no public exploit code.","fix":"Upgrade github.com/Kuadrant/mcp-gateway to 0.7.0 or later.","what":"GHSA-g53w-w6mj-hrpp is an authentication bypass vulnerability in github.com/Kuadrant/mcp-gateway, published on 19 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-g53w-w6mj-hrpp and fix it if it is affected.\n\nWhat it is: GHSA-g53w-w6mj-hrpp is an authentication bypass vulnerability in github.com/Kuadrant/mcp-gateway, published on 19 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-g53w-w6mj-hrpp in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/Kuadrant/mcp-gateway (Go): affected all versions; no fix listed\n- github.com/Kuadrant/mcp-gateway (Go): affected all versions; fixed in 0.7.0\n- github.com/Kuadrant/mcp-gateway (Go): affected all versions; fixed in 0.7.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-g53w-w6mj-hrpp/ (Markdown: https://insights.sbomify.com/GHSA-g53w-w6mj-hrpp/index.md)","id":"GHSA-g53w-w6mj-hrpp","markdown":"https://insights.sbomify.com/GHSA-g53w-w6mj-hrpp/index.md","name":"GHSA-g53w-w6mj-hrpp","record":{"aliases":["GO-2026-5390"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"MCP Gateway Router","requires_auth":"none","summary":"Unauthenticated attackers can bypass JWT validation and inject authority headers to access backend services via the MCP router's initialize path.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## Summary\n \nThe MCP router (ext_proc) exposes an `initialize`-method code path that, when a\nrequest carries an `mcp-init-host` header, bypasses the gateway JWT session\nvalidator and rewrites the upstream `:authority` header to whatever the caller\nchooses, gated only by a single shared header value (`router-key`). The shared\nvalue is\n\n* a literal string (`secret-api-key`) baked into `cmd/mcp-broker-router/main.go`\n  as a fall-back default, and\n* in controller-managed deployments, a SHA-256 truncation of the\n  `MCPGatewayExtension` UID — a non-secret value visible to anyone with `get`\n  permission on the resource, and additionally exposed in `argv` because it is\n  passed to the broker-router container via `--mcp-router-key=...`.\n\nA request that satisfies the trivial header check is forwarded to any backend\nlistener registered with the gateway (including external services such as\n`api.githubcopilot.com` when configured), bypassing both the broker (where the\nsigned `x-mcp-authorized` capability filter is enforced) and the gateway's\nJWT-based session model.","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"The MCP router (ext_proc) exposes an `initialize`-method code path that, when a request carries an `mcp-init-host` header, bypass","id":"GHSA-g53w-w6mj-hrpp","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/Kuadrant/mcp-gateway","purl":"pkg:golang/github.com/Kuadrant/mcp-gateway","source":"GO-2026-5390"},{"ecosystem":"Go","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/Kuadrant/mcp-gateway","purl":null,"source":"GHSA-g53w-w6mj-hrpp"},{"ecosystem":"Go","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/Kuadrant/mcp-gateway","purl":"pkg:golang/github.com/Kuadrant/mcp-gateway","source":"GHSA-g53w-w6mj-hrpp"}],"products":null,"published":"2026-05-19","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Unauthenticated attackers can bypass JWT validation and inject authority headers to access backend services via the MCP router's initialize path.","url":"https://insights.sbomify.com/GHSA-g53w-w6mj-hrpp/"}