CVE-2025-6515

Reuse of session IDs in oatpp-mcp leads to session hijacking and prompt hijacking by remote attackers

State
Published
Severity
6.8 Medium
Published
Oct 20, 2025
Updated
Oct 20, 2025
Reserved
Jun 23, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:HJFROG

Weaknesses

  • CWE-330 Use of Insufficiently Random Values

Affected Products

ProductVersions
oatpp-mcpoatpp
  • 0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.