oatpp-mcp predictable / insecure MCP SSE session IDs (session hijacking) | Medium || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-6515 |
| Date (index) | 2025-10-20 |
| Affected product (index) | oatpp-mcp (oatpp MCP SSE endpoint) |
| GHSA ID | GHSA-rvw9-mm8q-456q |
| OWASP MCP Top 10 (2025) | MCP01 — Token Mismanagement & Secret Exposure |
| Published / disclosed | 2025-10-20 |
| Ecosystem | C++ / Conan / vcpkg (varies) |
| Component | oatpp-mcp |
| EPSS score | 0.003440000 (FIRST EPSS, 2026-06-30) |
| CVSS score | Medium — 6.8 — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H (NVD CVSS 3.1) |
| CWE | CWE-330 |
| Affected versions | See oatpp-mcp advisory / NVD references (predictable MCP SSE session IDs) |
| Fixed versions | None published in NVD |
| Fix status | Unfixed |
| Exploit status | Public advisory |
| Notes | Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates. |
The MCP SSE endpoint in oatpp-mcp returns an instance pointer as the session ID, which is not unique nor cryptographically secure. This allows network attackers with access to the oatpp-mcp server to guess future session IDs and hijack legitimate client MCP sessions, returning malicious responses from the oatpp-mcp server.
Depends on deployment: many MCP issues require a reachable HTTP/SSE listener, a malicious remote MCP server, a poisoned project/workspace config, or a victim opening attacker-influenced content. Treat developer workstations and shared CI runners as high-value targets when MCP servers run with host access.
See the NVD description and linked references for the upstream root cause; CWE rows above summarize the weakness mapping published by NVD.
MCP extends an agent’s reach into tools, hosts, and cloud APIs. Failures in transport authentication, logging, URL validation, session binding, or local config loading frequently become RCE, credential theft, SSRF, or session hijacking in MCP-shaped deployments.
Add a minimal vulnerable code snippet here after reviewing the linked upstream commit / tag diff (do not paste weaponized payloads).
Upgrade to vendor-fixed versions where available, reduce network exposure (bind to localhost, require auth on HTTP transports), and apply standard MCP deployment hygiene (tool allowlists, egress controls, separate secrets from logs).
references for commits, tags, and release notes.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.