MCP Java SDK — Vulnerability (CVE-2026-35568)
Date: 2026-04
Affected: lfprojects/mcp_java_sdk
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2026-35568
CWE: CWE-346
CVSS: 5.7 (CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):