← Back to feed

Windsurf CVE-2026-30615: Prompt Injection to Local RCE via Untrusted MCP Configuration Manipulation

Date: 2026-06-23
Tags: prompt-injection, mcp-security

Executive Summary

A prompt injection vulnerability in Windsurf 1.9544.26 allows remote attackers to execute arbitrary commands on a victim system. When Windsurf processes attacker-controlled HTML content, malicious instructions can cause unauthorized modification of the local MCP configuration and automatic registration of a malicious MCP STDIO server, resulting in execution of arbitrary commands without further user interaction.

Campaign Summary

FieldDetail
Campaign / MalwareWindsurf CVE-2026-30615 Exploitation
AttributionUnknown (confidence: none)
TargetWindsurf IDE users; developers using Model Context Protocol integration
VectorAttacker-controlled HTML content processed by Windsurf; prompt injection via web content
Statusactive
First Observed2026-04-17

Detailed Findings

CVE 2026 30615 is a prompt injection vulnerability in Windsurf 1.9544.26 that allows remote attackers to execute arbitrary commands on a victim system. A remote attacker can access the publicly exposed MCP management interface and configure an MCP STDIO server with attacker-controlled commands and arguments. When the MCP server is started and MCP is enabled for agent execution, subsequent agent activity triggers execution of arbitrary commands on the server. CVE-2026-22708, disclosed against Cursor, lets an attacker poison the agent's execution environment so allowlisted commands like git branch deliver arbitrary payloads. The allowlist made the attack easier by auto-approving the very commands the attacker needed. This vulnerability is part of a broader class of MCP-based prompt injection attacks affecting AI coding assistants in 2026.

MITRE ATT&CK Mapping

TechniqueIDContext
Prompt InjectionT1593.003Malicious instructions embedded in HTML/web content to manipulate IDE configuration
Execution via MCP Command InjectionT1203Arbitrary command execution through malicious MCP STDIO server configuration
Abuse of FunctionalityT1204.001IDE's trust of attacker-controlled content to modify configuration without user awareness

IOCs

Domains

_No specific IOCs published. Vulnerability is in IDE software itself, not supply chain packages._

Full URL Paths

_No specific IOCs published. Vulnerability is in IDE software itself, not supply chain packages._

Splunk Format

_No IOCs available for Splunk query_

Affected Platforms

Windsurf IDE version 1.9544.26 and earlier
Model Context Protocol (MCP) clients

Detection Recommendations

Monitor for unexpected MCP STDIO server registrations in Windsurf configuration files; audit HTML content sources being processed by IDE; implement content filtering for IDE input; require explicit user confirmation for MCP configuration changes; scan for suspicious command parameters in MCP server definitions; update Windsurf to patched version immediately; monitor process execution from IDE contexts.

References