CVE-2026-35568 Details
Description
MCP Java SDK is the official Java SDK for Model Context Protocol servers and clients. Prior to 1.0.0, the java-sdk contains a DNS rebinding vulnerability. This vulnerability allows an attacker to access a locally or network-private java-sdk MCP server via a victims browser that is either local, or network adjacent. This allows an attacker to make any tool call to the server as if they were a locally running MCP connected AI agent. This vulnerability is fixed in 1.0.0.
A DNS rebinding vulnerability has been identified in the MCP Java SDK, prior to version 1.0.0. This vulnerability allows an attacker to access a locally or network-private MCP server through a victim's browser, either local or network-adjacent. Exploitation enables the attacker to make tool calls to the server as if they were a locally running MCP-connected AI agent. The issue arises from a lack of Origin header validation, violating the MCP specification, which requires servers to validate the Origin header on all incoming connections to prevent DNS rebinding attacks.
Users can update to MCP Java SDK version 1.0.0, which addresses the vulnerability by implementing proper Origin header validation. Alternatively, MCP servers can be run behind a reverse proxy that validates the Host and Origin headers, or by using a framework that enforces strict CORS and Origin validation, such as Spring AI.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/modelcontextprotocol/java-sdk/releases/tag/v1.0.0 | [email protected] | Release Notes |
| https://github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-8jxr-pr72-r468 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lfprojects mcp java sdk | < 1.0.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | Initial Analysis | [email protected] |
| Apr 7, 2026 | New CVE Received | [email protected] |