Skip to main content
Mallory
← Back to News
ai-platform-security

Anthropic MCP STDIO Design Flaw Enables RCE Across AI Tooling

Emerging Technology Risk · 4 sources · Updated 5mo ago · First seen Apr 16, 2026

Anthropic MCP STDIO Design Flaw Enables RCE Across AI Tooling

Researchers at OX Security disclosed a design-level weakness in Anthropic’s Model Context Protocol (MCP) that can allow arbitrary OS command execution through unsafe STDIO transport behavior, creating a broad AI supply-chain risk. The flaw is reported to propagate through Anthropic’s official MCP SDKs into downstream tools and agents, with researchers linking it to at least 10 high- and critical-severity vulnerabilities across widely used projects. Reported impacts include exposure of sensitive data such as API keys, chat histories, internal databases, and developer workstations, while estimates of exposure range from more than 7,000 publicly accessible servers to as many as 200,000 servers potentially at risk.

Affected or cited projects include LangFlow, Flowise, GPT Researcher, Upsonic, Windsurf, Claude Code, Cursor, Gemini-CLI, GitHub Copilot, LiteLLM, and LettaAI. OX Security said it began reporting the issue to Anthropic in late 2025, but Anthropic reportedly treated the behavior as expected and responded by updating security guidance rather than changing the protocol architecture. Researchers described four main abuse paths: direct command injection, hardening bypass, zero-click or near-zero-click prompt injection in AI IDEs and coding assistants, and malicious MCP marketplace submissions that can execute commands on developer machines; they urged organizations to restrict public exposure, sandbox MCP-enabled services, treat external MCP configurations as untrusted, monitor MCP tool use, and install MCP servers only from verified sources.

Why it matters

Impact assessment

This issue affects organizations deploying Anthropic MCP-based tooling, especially AI developer platforms, coding assistants, agent frameworks, and publicly exposed MCP-enabled services. The impact is severe because the reported design flaw can lead to arbitrary OS command execution, exposure of API keys, chat histories, internal databases, and potential takeover of developer workstations or servers.

The exposure is broad rather than narrowly targeted. Reporting ties the root issue to Anthropic’s official MCP SDKs for Python, TypeScript, Java, and Rust, with downstream impact across packages totaling more than 150 million downloads and estimates ranging from 7,000 publicly accessible servers to as many as 200,000 potentially exposed servers. Researchers reported successful command execution on six production platforms and poisoning of nine of 11 MCP registries, indicating practical exploitation paths beyond theory.

Affected entities and products

  • Anthropic Model Context Protocol (MCP)
  • Anthropic official MCP SDKs: Python, TypeScript, Java, Rust
  • Cited affected projects/products: LangFlow, Flowise, GPT Researcher, Upsonic, Windsurf, Claude Code, Cursor, Gemini-CLI, GitHub Copilot, LiteLLM, LettaAI, Agent Zero, LangChain-Chatchat, DocsGPT, Bisheng, Fay Framework, Jaaz, LibreChat, WeKnora, MCP Inspector, @akoskm/create-mcp-server-stdio
  • Ecosystem adopters mentioned: OpenAI, Google, major AI coding tools

Severity and business risk

  • Arbitrary command execution can enable full server compromise or developer endpoint compromise
  • Sensitive data at risk: API keys, chat histories, internal databases, user data
  • Operational risk: disruption of AI-enabled workflows, CI/CD and developer tooling compromise, downstream supply-chain propagation
  • Reputational and financial risk: compromise of customer-facing AI services, leakage of proprietary code or secrets, incident response and remediation costs

Scope and exploitation status

  • Reported as a systemic supply-chain weakness, not a single isolated product bug
  • Estimated exposure: more than 7,000 publicly accessible servers; some reporting cites up to 200,000 servers potentially at risk
  • Researchers stated affected packages exceed 150 million downloads
  • Known real-world validation: command execution confirmed on six live production platforms; nine of 11 MCP marketplaces reportedly accepted poisoned test entries
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Nov 1, 2025 – Apr 20, 2026
  1. Apr 20, 20267mo ago

    Public disclosure warns MCP flaw threatens AI supply chain

    In April 2026, OX Security publicly disclosed the architectural weakness, warning it could put thousands of publicly accessible MCP servers and software packages with more than 150 million downloads at risk. The disclosure framed the issue as a broader AI supply-chain problem because the insecure behavior propagated through Anthropic's official MCP SDKs into many downstream projects.

  2. Apr 20, 20267mo ago

    Vendors issue patches for some affected MCP ecosystem projects

    Several downstream vendors released fixes for vulnerabilities tied to the MCP design weakness in their own products. However, Anthropic itself had not changed the underlying protocol architecture, according to the researchers.

  3. Apr 16, 20268mo ago

    Researchers link MCP flaw to 10 vulnerabilities across AI tools

    OX Security connected the protocol design issue to at least 10 high- and critical-severity CVEs or vulnerabilities affecting MCP-based tools and AI agents, including products such as LangFlow, Flowise, Windsurf, Claude Code, Cursor, Gemini-CLI, GitHub Copilot, LiteLLM, and LettaAI-related tooling. The researchers said the weakness created multiple exploit classes, including command injection, hardening bypass, prompt injection, and malicious marketplace package abuse.

  4. Apr 16, 20268mo ago

    Anthropic updates guidance but keeps MCP architecture unchanged

    After receiving the reports, Anthropic reportedly treated the STDIO behavior as expected rather than a protocol flaw. Instead of changing the MCP architecture, it updated security guidance to caution developers about use of STDIO adapters.

  5. Nov 1, 20251y ago

    OX Security begins disclosing MCP STDIO design flaw to Anthropic

    OX Security said it first reported a design-level weakness in Anthropic's Model Context Protocol beginning in November 2025. The issue centered on unsafe STDIO transport behavior that could enable arbitrary OS command execution in downstream MCP implementations.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

7 linked
UpsonicClaude CodeGithub CopilotLangflowFlowiseLitellmCursor

Organizations

8 linked
UpsonicLitellmWindsurfAnthropicFlowiseCursorGPT ResearcherBisheng
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.