Skip to content

Hide Navigation Hide TOC

MCP session ID / auth token placed in URL query string (session leak via logs, referrer, history) - ATR-2026-00580 (273eb04a-4465-54fe-80fd-60ed0534ef83)

Vulnerable MCP Project entry "session-ids-exposed-in-urls" (reported by Equixly). An MCP server, gateway, or client construction embeds a session identifier or auth credential in the URL QUERY STRING rather than in a request header or POST body — e.g. GET /messages/?sessionId=, https://mcp.example.com/sse?session_id=, or a config "url" field with ?access_token=/?api_key=. URLs are routinely logged by web servers, proxies, CDNs, and browser history, and are leaked in HTTP Referer headers on outbound navigation, so a credential in the query string is an exposed credential — enabling session hijack and context exfiltration. The discriminator from the generic secret-assignment rule (ATR-2026-00021, which matches any api_key=/access_token= at-rest assignment) and from the markdown-image-exfil rules (00261/00405/00501, which key on image/link syntax) is that THIS rule requires a session/auth credential keyword to sit in the QUERY STRING of an http(s)/ws(s) URL or an MCP-shaped relative endpoint (/messages, /sse, /mcp, or a config url= field) with a realistic (12+ char) credential value — not a credential assigned to an env var, not a path segment like /api-keys, and not a doc placeholder like ?session_token=5e9...

Cluster A Galaxy A Cluster B Galaxy B Level
LLM Meta Prompt Extraction (e98acce8-ed69-4ebe-845b-1bcb662836ba) MITRE ATLAS Attack Pattern MCP session ID / auth token placed in URL query string (session leak via logs, referrer, history) - ATR-2026-00580 (273eb04a-4465-54fe-80fd-60ed0534ef83) Agent Threat Rules 1
MCP session ID / auth token placed in URL query string (session leak via logs, referrer, history) - ATR-2026-00580 (273eb04a-4465-54fe-80fd-60ed0534ef83) Agent Threat Rules LLM Data Leakage (45d378aa-20ae-401d-bf61-7f00104eeaca) MITRE ATLAS Attack Pattern 1