{"id":"CVE-2026-35568","aliases":["CVE-2026-35568","GHSA-8jxr-pr72-r468"],"related":[],"kind":"vulnerability","state":"published","title":"MCP Java-SDK has a DNS Rebinding Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe 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.\n\nThis allows an attacker to make any tool call to the server as if they were a locally running MCP connected AI agent.\n\n### Details\n\nPrior to 1.0.0 no Origin header validation was occurring, in violation of the MCP specification. [Base Protocol > Transports: 2.0.1 Security Warning](https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#security-warning):\n\n> 1: Servers MUST validate the Origin header on all incoming connections to prevent DNS rebinding attacks.\n\nWhen the web server serving HTTP traffic to the MCP server does not perform standard CORS checks, a DNS rebinding attack is possible.\n\nSome default server configurations and frameworks come with embedded `Origin` header validation. MCP servers built using those are not vulnerable to this issue. For example, the following are NOT vulnerable:\n- Spring AI\n\n### Impact\n\nAny developer connecting to a malicious website can inadvertently allow an attacker to make tool calls to local or private-network MCP servers.\n\n### Workarounds\n\nUsers can mitigate this risk by:\n1. Running the MCP server behind a reverse proxy (like Nginx or HAProxy) configured to strictly validate the `Host` and `Origin` headers.\n2. Using a framework that inherently enforces strict CORS and Origin validation (such as Spring AI).","format":"markdown","source":"ghsa"},{"lang":"es","text":"MCP Java SDK es el SDK oficial de Java para servidores y clientes de Model Context Protocol. Antes de la 1.0.0, el java-sdk contiene una vulnerabilidad de reenlace de DNS. Esta vulnerabilidad permite a un atacante acceder a un servidor MCP java-sdk local o privado de red a través del navegador de una víctima que es local o adyacente a la red. Esto permite a un atacante realizar cualquier llamada de herramienta al servidor como si fuera un agente de IA conectado a MCP ejecutándose localmente. Esta vulnerabilidad está corregida en la 1.0.0.","source":"nvd"}],"published":"2026-04-07T20:13:32.000Z","modified":"2026-09-10T03:51:01.317Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"}],"cwes":["CWE-346"],"affected":[{"ranges":[{"version":"< 1.0.0","status":"affected"}],"vendor":"modelcontextprotocol","product":"java-sdk","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.0"}],"ecosystem":"Maven","package":"io.modelcontextprotocol.sdk:mcp-core","purl":"pkg:maven/io.modelcontextprotocol.sdk/mcp-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.0"}],"vendor":"lfprojects","product":"mcp_java_sdk","cpe":"cpe:2.3:a:lfprojects:mcp_java_sdk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-8jxr-pr72-r468","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/modelcontextprotocol/java-sdk/releases/tag/v1.0.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35568","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/modelcontextprotocol/java-sdk","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-08T15:43:13.122Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35568","url":"https://www.cve.org/CVERecord?id=CVE-2026-35568","licence":"CVE Terms of Use","modified":"2026-04-08T15:43:22.962Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8jxr-pr72-r468","url":"https://github.com/advisories/GHSA-8jxr-pr72-r468","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:01.317Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35568","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35568","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:18.185Z","epss":{"score":0.00152,"percentile":0.04597,"date":"2026-12-01T12:00:22.000Z"}}