← Back to feed

MCP Supply Chain Attack: OX Security Discloses Critical Systemic Prompt Injection to RCE Vulnerability in Anthropic MCP STDIO Transport Affecting 150M+ Downloads and Six AI Coding Tools

Date: 2026-06-03
Tags: mcp-security, prompt-injection, malicious-tool

Executive Summary

OX Security Research uncovered a critical, systemic vulnerability at the core of the Model Context Protocol (MCP)—the industry standard for AI agent communication created and maintained by Anthropic—which enables Arbitrary Command Execution (RCE) on any system running a vulnerable MCP implementation, granting attackers direct access to sensitive user data, internal databases, API keys, and chat histories. Cursor, VS Code, Windsurf, Claude Code, and Gemini-CLI are all vulnerable, with Windsurf (CVE-2026-30615) being the only IDE where exploitation required zero user interaction.

Campaign Summary

FieldDetail
Campaign / MalwareMCP STDIO Prompt Injection to RCE Campaign
AttributionDesign Flaw (Not Attributed to Specific Threat Actor) (confidence: none)
TargetAI developers using Cursor, VS Code, Windsurf, Claude Code, Gemini CLI; enterprises running MCP servers
VectorMalicious MCP server configuration files; prompt injection in STDIO protocol; zero-interaction exploitation in Windsurf
Statusactive
First Observed2026-04-15 (OX Security disclosure)

Detailed Findings

The vulnerability is not a traditional coding error but an architectural design decision baked into Anthropic's official MCP SDKs across every supported programming language, including Python, TypeScript, Java, and Rust. The OX Security disclosure illustrated how design decisions made early in a protocol's life create systemic risk later; tool poisoning is the new prompt injection where attackers hide instructions inside tool metadata that the agent reads but the user cannot see. A prompt injection vulnerability in Windsurf 1.9544.26 allows remote attackers to execute arbitrary commands on a victim system; OX Security's full disclosure advisory covers 10 CVEs in MCP STDIO configurations. A 2026 disclosure exposed up to 200,000 vulnerable MCP instances across IDEs, internal tools, and cloud services.

MITRE ATT&CK Mapping

TechniqueIDContext
Prompt InjectionT1598Malicious instructions embedded in tool metadata and configuration files
Code InjectionT1059Arbitrary command execution via STDIO protocol parsing
Privilege EscalationT1134RCE runs with privileges of the IDE or agent process
Data ExfiltrationT1041Access to API keys, chat histories, internal databases
Lateral MovementT1570Compromised MCP server can access connected resources

IOCs

Domains

_Specific CVE numbers and hashes not enumerated in available sources; OX Security maintains the full advisory_

Full URL Paths

_Specific CVE numbers and hashes not enumerated in available sources; OX Security maintains the full advisory_

Splunk Format

_No IOCs available for Splunk query_

Package Indicators

CVE-2026-30615 (Windsurf)
10 CVEs in MCP STDIO configurations (OX Security full advisory)

Detection Recommendations

Implement manifest-only execution in MCP SDKs (Anthropic's recommended fix); deploy command allowlists at the protocol level; require explicit approval for MCP server connections in all IDEs; monitor MCP JSON configuration files for suspicious tool definitions; scan MCP server repositories and packages for malicious tool metadata; implement sandboxing for MCP tool execution; require TLS for all MCP communications and cryptographic verification of server identity; upgrade all affected IDEs and code editors to patched versions; audit existing MCP deployments for unauthorized configuration changes.

References