Vulnerability
CVE-2026-34237
MCP Java SDK is the official Java SDK for Model Context Protocol servers and clients. Prior to versions 0.83.0, 1.0.1, and 1.1.1, there is a hardcoded wildcard CORS vulnerability. This issue has been patched in versions 0.83.0, 1.0.1, and 1.1.1.
9 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-3pqm-cvjx-3xqf
- CGA-542f-52h9-p3g3
- CGA-697p-27x4-m8m9
- CGA-7c2g-hv4p-x66c
- CGA-7cvq-xpjv-p3gj
- CGA-9qf7-9rm6-x6v4
- CGA-c64p-94rf-q9fp
- CGA-fp4w-9q9h-g9mw
-
GHSA-hv2w-8mjj-jw22
MCP Java SDK has a Hardcoded Wildcard CORS (Access-Control-Allow-Origin: *)
References
- https://github.com/modelcontextprotocol/java-sdk/blob/main/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletSseServerTransportProvider.java#L289
- https://github.com/modelcontextprotocol/java-sdk/blob/main/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletStreamableServerTransportProvider.java#L525
- https://github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-hv2w-8mjj-jw22