CVE-2026-34237
MCP Java SDK is the official Java SDK for Model Context Protocol …
MCP Java SDK is the official Java SDK for Model Context Protocol servers and clients. Prior to versions 1.0.1 and 1.1.1, there is a hardcoded wildcard CORS vulnerability. This issue has been patched in versions 1.0.1 and 1.1.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-hv2w-8mjj-jw22
- cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html#access-control-allow-
- github.com/modelcontextprotocol/java-sdk/blob/main/mcp-core/src/main/java/io/modelcontextp
- github.com/modelcontextprotocol/java-sdk/blob/main/mcp-core/src/main/java/io/modelcontextp
- github.com/advisories/GHSA-hv2w-8mjj-jw22
- nvd.nist.gov/vuln/detail/CVE-2026-34237
- nvd.nist.gov/vuln/detail/CVE-2026-34237
- cve.org/CVERecord?id=CVE-2026-34237
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.