UTC
High

Default stateless Servlet transport accepts browser cross-origin tool calls

GHSA-hp8w-r5wh-cw9q · published 2026-10-20

Severity
High
CVSS score
7.1
Chance of exploitation (EPSS)
No CVE
Fixed in
2.1.0
What it is

A user who visits an attacker-controlled page can be made to invoke a tool on an affected MCP server without any MCP client prompt. The impact depends on the tools exposed: tools that modify or delete data, send messages, or start jobs can be triggered. Responses cannot be read cross-origin, so tool output is not directly disclosed to the attacker.

What to do

Upgrade io.modelcontextprotocol.sdk:mcp-core to 2.1.0 or later.

If you cannot upgrade yet

Upgrade to version 2.1.0, 1.1.5, or 0.18.5. Deployments that cannot upgrade immediately can: configure DefaultServerTransportSecurityValidator with an Origin allow-list via the transport builder's httpHeaderValidator(...) require authentication add a servlet filter in front of the transport that rejects POST requests whose Content-Type is not application/json

Affected
PackageRegistryAffectedFixed in
io.modelcontextprotocol.sdk:mcp-coreMaven>= 1.0.0, < 1.1.51.1.5
io.modelcontextprotocol.sdk:mcp-coreMaven>= 2.0.0, < 2.1.02.1.0

For io.modelcontextprotocol.sdk:mcp-core the advisory also lists ">= 0.11.0, 0 < 0.18.5". ShieldMap could not read that range, so 0.x versions are not matched against this advisory.

For io.modelcontextprotocol.sdk:mcp-core the advisory also lists ">= 0.11.0, 0 < 0.18.5". ShieldMap could not read that range, so 0.x versions are not matched against this advisory.

The impact, patch and workaround text comes from the advisory, shortened (published by the MCP Java SDK project). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by the MCP reference servers project (https://github.com/modelcontextprotocol/servers/security/advisories); advisories published by the MCP Inspector project (https://github.com/modelcontextprotocol/inspector/security/advisories); advisories published by the MCP TypeScript SDK project (https://github.com/modelcontextprotocol/typescript-sdk/security/advisories); advisories published by the MCP Go SDK project (https://github.com/modelcontextprotocol/go-sdk/security/advisories); advisories published by the MCP Java SDK project (https://github.com/modelcontextprotocol/java-sdk/security/advisories); advisories published by the MCP Kotlin SDK project (https://github.com/modelcontextprotocol/kotlin-sdk/security/advisories); advisories published by the MCP Rust SDK project (https://github.com/modelcontextprotocol/rust-sdk/security/advisories); advisories published by the MCP Ruby SDK project (https://github.com/modelcontextprotocol/ruby-sdk/security/advisories); advisories published by the MCP C# SDK project (https://github.com/modelcontextprotocol/csharp-sdk/security/advisories); advisories published by the MCP PHP SDK project (https://github.com/modelcontextprotocol/php-sdk/security/advisories); advisories published by the MCP Registry project (https://github.com/modelcontextprotocol/registry/security/advisories); advisories published by Open Terminal (https://github.com/open-webui/open-terminal/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-12-06. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].