Server/client session dispatch returns raw handler exception messages (and the full cause chain) to the peer → information disclosure
GHSA-w83x-jw8h-w4rj · published 2026-10-20
- Severity
- Medium
- CVSS score
- 5.3
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.1.0
Information disclosure (CWE-209) to the MCP peer. A client that can induce an unexpected exception in a server handler, for example by sending unexpected arguments to a tool, receives the class names and messages of every exception in the cause chain.
Upgrade io.modelcontextprotocol.sdk:mcp-core to 2.1.0 or later.
Upgrade to 0.18.5, 1.1.5 or 2.0.2. These versions no longer include the exception cause chain in error responses, and log the exception locally instead. Applications that cannot upgrade immediately should catch exceptions in their handlers and either throw an McpError with a sanitized message, or, for tools, return a CallToolResult with isError set to true.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| io.modelcontextprotocol.sdk:mcp-core | Maven | >= 1.0.0, < 1.1.5 | 1.1.5 |
| io.modelcontextprotocol.sdk:mcp-core | Maven | >= 2.0.0, < 2.1.0 | 2.1.0 |
For io.modelcontextprotocol.sdk:mcp-core the advisory also lists ">= 0.11.0, 0 < 0.18.5". ShieldMap could not read that range, so 0.x versions are not matched against this advisory.
For io.modelcontextprotocol.sdk:mcp-core the advisory also lists ">= 0.11.0, 0 < 0.18.5". ShieldMap could not read that range, so 0.x versions are not matched against this advisory.
- CriticalPhoenix: Format String Injection in applyChatTemplatearize-phoenix
- CriticalFlowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected serviceflowise
- CriticalCrawl4AI: authentication bypass vulnerability due to a hardcoded default JWT signing key in the Docker API servercrawl4ai
- CriticalMLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltrationmlflow
- CriticalvLLM has RCE In Video Processingvllm
- HighConfig revision hashes could expose password verifiersopenclaw
- HighUnbounded session retention in the Streamable HTTP transport allows an initialize flood DoSio.modelcontextprotocol.sdk:mcp-core
- HighDefault stateless Servlet transport accepts browser cross-origin tool callsio.modelcontextprotocol.sdk:mcp-core
- HighUnbounded request-body reads in mcp-core HTTP server transports allow remote denial of service (CWE-770)io.modelcontextprotocol.sdk:mcp-core
- HighJava-SDK has a DNS Rebinding Vulnerabilityio.modelcontextprotocol.sdk:mcp-core
- MediumUnbounded reads when parsing Server-Sent Events in HTTP client transportsio.modelcontextprotocol.sdk:mcp-core
- MediumMCP Java SDK has a Hardcoded Wildcard CORS (Access-Control-Allow-Origin: *)io.modelcontextprotocol.sdk:mcp-core
The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Java SDK project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.