CVE-2026-35568

MCP Java-SDK has a DNS Rebinding Vulnerability

Published Apr 7, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The MCP Java SDK contains a DNS rebinding flaw that lets an attacker trick a victim’s browser into communicating with a locally or network‑private MCP server. By resolving the server’s internal hostname to the attacker’s domain, the browser can issue tool calls that normally require trust, effectively acting as if the attacker were a bona‑fide local agent. This grants the attacker the ability to invoke any exposed function on the MCP server, risking arbitrary code execution and data leakage. The weakness is classified as CW‑346, a misuse of resources through identity circumvention.

Affected Systems

The vulnerability affects the Model Context Protocol Java SDK, specifically versions older than 1.0.0. System administrators using these versions should verify that the application runs on a protected network and is not accessible from untrusted browsers.

Risk and Exploitability

The CVSS base score of 7.6 indicates a high severity, but the EPSS score of less than 1 % shows a low probability of exploitation in the wild. The flaw is not yet listed in the CISA KEV catalog. Exploitation requires an attacker to host a malicious site and convince a victim with network proximity to visit it, making the attack vector a web‑based DNS rebinding scenario.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the MCP Java SDK to version 1.0.0 or later.
  • Ensure that the MCP server is not reachable from untrusted networks or browsers.
  • Restrict DNS resolution to internal hosts and block DNS rebinding techniques at the network level.

Generated by OpenCVE AI on April 14, 2026 at 20:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8jxr-pr72-r468 Java-SDK has a DNS Rebinding Vulnerability
History
Type Values Removed Values Added
First Time appeared Lfprojects
Lfprojects mcp Java Sdk
CPEs cpe:2.3:a:lfprojects:mcp_java_sdk:*:*:*:*:*:*:*:*
Vendors & Products Lfprojects
Lfprojects mcp Java Sdk
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
First Time appeared Modelcontextprotocol
Modelcontextprotocol java-sdk
Vendors & Products Modelcontextprotocol
Modelcontextprotocol java-sdk
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title MCP Java-SDK has a DNS Rebinding Vulnerability
Weaknesses CWE-346
References
Metrics cvssV4_0

{'score': 7.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 8, 2026, 3:43 PM
Reserved
Apr 3, 2026, 8:09 PM
Status
Analyzed
Published
Apr 7, 2026, 10:16 PM
Modified
Jul 24, 2026, 9:10 PM