Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/envoyproxy/ai-gateway
  4. ›
  5. GHSA-953h-535j-jg2v

GHSA-953h-535j-jg2v: agent-router: MCP session resume does not verify the embedded anti-hijacking subject; default Helm seed makes session IDs forgeable

October 19, 2026

The MCP proxy’s client-facing session ID embeds the authenticated caller’s subject (JWT sub claim) specifically as an anti-hijacking discriminator — matching the Model Context Protocol specification’s documented session-hijacking guidance (https://modelcontextprotocol.io/specification/2025-06-18/basic/security_best_practices#session-hijacking). However, the session-resume path never checks that discriminator against the current caller’s identity, so any client that obtains a session ID (its own or another user’s) can resume that session and act with it — including on routes with per-user backend sessions. This is aggravated by the official Helm chart shipping a literal, publicly known default seed ("default-insecure-seed") for the key that encrypts these session IDs.

References

  • github.com/advisories/GHSA-953h-535j-jg2v
  • github.com/theagentrouter/agent-router/commit/0d1e73037076d72251342d0ea578a36ffb7002c7
  • github.com/theagentrouter/agent-router/commit/994579660ae2a9f2feef3cb77766e155746858b4
  • github.com/theagentrouter/agent-router/pull/2740
  • github.com/theagentrouter/agent-router/pull/2755
  • github.com/theagentrouter/agent-router/security/advisories/GHSA-953h-535j-jg2v

Code Behaviors & Features

Detect and mitigate GHSA-953h-535j-jg2v with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.4.0-rc1 before 1.2.0-rc1

Fixed versions

  • 1.2.0-rc1

Solution

Upgrade to version 1.2.0-rc1 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-798: Use of Hard-coded Credentials
  • CWE-863: Incorrect Authorization

Source file

go/github.com/envoyproxy/ai-gateway/GHSA-953h-535j-jg2v.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.