HighVulnerability
GHSA-8jxr-pr72-r468: Java-SDK has a DNS Rebinding Vulnerability
- Identifiers
- CVE-2026-35568GHSA-8jxr-pr72-r468
- Published
- Record updated
- Affected
- io.modelcontextprotocol.sdk:mcp-core < 1.0.0
- Fixed in
- 1.0.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
The java-sdk MCP server contained a DNS rebinding vulnerability because it performed no Origin header validation before version 1.0.0, contrary to the MCP specification. An attacker can use a malicious website opened in a victim's browser to make arbitrary tool calls to a locally or privately networked MCP server, acting as a locally connected AI agent. Servers built on frameworks with built-in Origin validation, such as Spring AI, are not affected.
Mitigation
Fixed in 1.0.0 (Origin validation was absent prior to that release). Workarounds: run the MCP server behind a reverse proxy such as Nginx or HAProxy configured to strictly validate the Host and Origin headers, or use a framework that enforces strict CORS and Origin validation, such as Spring AI.
Topics
Related items
- MediumCVE-2026-134825: Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote…Similar attack · NVD/CVE Database
- MediumCVE-2026-124248: GPTranslate WordPress plugin stored cross-site scripting via comment parameterSimilar attack · NVD/CVE Database
- MediumAmazon: China-Linked Hackers’ AI Agents Exploited Medical Software Zero-DaySimilar attack · SecurityWeek
- MediumAttackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root AccessSimilar attack · The Hacker News
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database