Skip to main content

Java EUVDEUVD-2026-19954

| CVE-2026-35568 HIGH
Origin Validation Error (CWE-346)
2026-04-07 https://github.com/modelcontextprotocol/java-sdk GHSA-8jxr-pr72-r468
7.6
CVSS 4.0 · Vendor: https://github.com/modelcontextprotocol/java-sdk
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious website
  2. Delivery
    Victim visits site with browser
  3. Exploit
    DNS rebinding redirects to local MCP server
  4. Execution
    Browser sends request without Origin validation
  5. Impact
    Attacker executes arbitrary tool calls on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Attacker performs DNS rebinding against java-sdk MCP server versions prior to 1.0.0 running locally or on network-adjacent system. Victim's browser must visit attacker-controlled site. Requires missing Origin header validation in MCP specification compliance.

Impact

Real-world risk is moderate with specific preconditions. Attack requires victim interaction (visit malicious site) while running exposed MCP server on localhost or private network, reducing likelihood compared to unauthenticated remote exploits. However, impact is severe: successful exploitation grants complete tool invocation authority equivalent to legitimate AI agent access, potentially enabling data exfiltration, system modification, or lateral movement depending on exposed MCP tools. No CVSS score provided, but attack complexity would likely rate MEDIUM (requires social engineering + specific network positioning). No EPSS data available for quantitative exploitation probability. No KEV listing indicates no confirmed active exploitation campaigns. Attack vector is network-based but requires browser-mediated access (NETWORK + user interaction). The vulnerability exists in a developer-facing SDK rather than end-user application, limiting exposure surface to developers running local MCP servers during development/testing. Mitigation via framework choice (Spring AI) or reverse proxy significantly reduces practical risk. Priority depends on deployment context: high for exposed development environments, lower for production deployments behind properly configured proxies.

Exploit ScenarioDerived

A developer running a local MCP server (exposing sensitive internal tools like database queries or file system access) on their workstation browses to an attacker-controlled website during a targeted phishing campaign. The malicious site serves JavaScript that initiates DNS rebinding: initial DNS lookup returns attacker's IP, subsequent lookups resolve to 127.0.0.1 after browser caches the page. The script issues cross-origin requests to localhost:PORT/mcp-endpoint with tool invocation commands. Because the vulnerable java-sdk lacks Origin validation, the server processes requests as legitimate, granting the attacker ability to execute arbitrary MCP tool calls-potentially exfiltrating local credentials, querying internal databases, or modifying files. No public exploit identified at time of analysis, but DNS rebinding is a well-documented attack technique with available proof-of-concept frameworks.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 07, 2026

DNS rebinding in Model Context Protocol (MCP) Java SDK before v1.0.0 enables remote attackers to invoke arbitrary tool calls on local or network-private MCP servers via a victim's browser. The SDK failed to validate Origin headers per MCP specification requirements, violating mandatory server-side protections against cross-origin attacks. Exploitation requires social engineering (victim visits malicious site), but grants full tool invocation privileges as if the attacker were a locally authorized AI agent. Patch available in v1.0.0. No public exploit identified at time of analysis, but attack technique is well-understood (DNS rebinding). EPSS data not available; authentication requirements not confirmed from available data.

RemediationAI

Upgrade to Model Context Protocol Java SDK version 1.0.0 or later, which implements mandatory Origin header validation per MCP specification requirements. The patched release is available at github.com/modelcontextprotocol/java-sdk/releases/tag/v1.0.0 and via Maven Central. For environments unable to immediately upgrade, deploy MCP servers behind reverse proxy infrastructure configured to enforce strict Host and Origin header validation (Nginx, HAProxy, or equivalent). Alternatively, migrate to MCP server implementations using frameworks with built-in CORS protections such as Spring AI, which inherently validates Origin headers regardless of SDK version. Review network exposure of MCP servers and restrict access to trusted networks only. Developers should avoid accessing untrusted websites while running local MCP servers on development machines. Full advisory and remediation guidance available at github.com/modelcontextprotocol/java-sdk/security/advisories/GHSA-8jxr-pr72-r468.

Affected VersionsENISA

java-sdk < 1.0.0

Affected Packages

maven io.modelcontextprotocol.sdk:mcp-core fix: 1.0.0
euvd java_sdk fix: 1.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Model Context Protocol (MCP) is a framework for AI agents to interact with external tools and services via standardized server interfaces. The java-sdk (pkg:maven/io.modelcontextprotocol.sdk:mcp-core) provides server-side Java implementation for MCP tool hosting. Versions prior to 1.0.0 failed to implement mandatory Origin header validation specified in MCP 2025-06-18 Base Protocol Transport Security requirements. This omission creates a classic DNS rebinding vulnerability (CWE-346: Origin Validation Error), where an attacker controls a domain with rapidly-changing DNS records to bypass Same-Origin Policy protections. The attacker's page loads in victim's browser, DNS resolves to localhost/private IP, browser sends requests appearing to originate from trusted origin. Without server-side Origin validation, the MCP server accepts cross-origin requests from attacker-controlled pages targeting private network endpoints. Framework-specific mitigations exist: Spring AI provides built-in CORS/Origin enforcement, making Spring-based MCP servers immune even when using vulnerable SDK versions.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/modelcontextprotocol/java-sdk) PRIMARY 7.6 HIGH
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

Primary rating from Vendor (https://github.com/modelcontextprotocol/java-sdk) · only source for this CVE.

CVSS VectorVendor: https://github.com/modelcontextprotocol/java-sdk

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 08, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 07, 2026 - 20:13 nvd
HIGH 7.6

DescriptionCVE.org

Summary

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.

Details

Prior to 1.0.0 no Origin header validation was occurring, in violation of the MCP specification. Base Protocol > Transports: 2.0.1 Security Warning:

> 1: Servers MUST validate the Origin header on all incoming connections to prevent DNS rebinding attacks.

When the web server serving HTTP traffic to the MCP server does not perform standard CORS checks, a DNS rebinding attack is possible.

Some 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:

  • Spring AI

Impact

Any developer connecting to a malicious website can inadvertently allow an attacker to make tool calls to local or private-network MCP servers.

Workarounds

Users can mitigate this risk by:

  1. Running the MCP server behind a reverse proxy (like Nginx or HAProxy) configured to strictly validate the Host and Origin headers.
  2. Using a framework that inherently enforces strict CORS and Origin validation (such as Spring AI).

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 38 maven packages depend on io.modelcontextprotocol.sdk:mcp-core (13 direct, 25 indirect)

Ecosystem-wide dependent count for version 1.0.0.

Executive ViewAI

Why It Matters

CVE-2026-35568 affects the Model Context Protocol (MCP) Java SDK versions before v1.0.0, allowing remote attackers to bypass origin validation and invoke arbitrary tool calls on local or network-private servers through DNS rebinding attacks. Organizations using MCP Java SDK are at risk if users can be socially engineered to visit malicious websites, potentially exposing backend tools and services to unauthorized remote manipulation.

Business Impact: High
Compensating Controls

Vendor-released patch: MCP Java SDK v1.0.0. If immediate upgrade is not feasible, implement strict network-level controls restricting access to MCP servers from external networks; enforce DNS pinning at the application level; implement additional authentication mechanisms beyond Origin header validation; monitor for suspicious DNS resolution patterns targeting internal MCP infrastructure.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy