Skip to main content

Windsurf CVE-2025-36730

MEDIUM
2025-10-14 vulnreport@tenable.com
4.6
CVSS 4.0 · Vendor: tenable
View

Attack ChainAIDerived

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

  1. Access
    Plant file with malicious crafted name in project
  2. Delivery
    Victim opens project and uses Write mode with SWE-1
  3. Exploit
    Filename appended to user prompt
  4. Execution
    Agent follows injected instructions
  5. Impact
    Unauthorized agent actions on local files

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a very specific, non-default-feature configuration: Windsurf version 1.10.7 operating in Write mode using the SWE-1 model. The attacker must be able to introduce a file with a maliciously crafted name into content the victim's agent processes (e.g., a shared or cloned project), and a victim must interact with the agent (UI:A/UI:R) such that the filename is appended to the user prompt. Limiting factors: the attack is local (AV:L) rather than remote, depends on the victim actively using the vulnerable mode/model combination, requires attacker influence over filenames in the workspace, and impact is bounded by the agent's permitted actions, yielding only Low C/I/A. This narrow mode- and model-specific precondition substantially reduces realistic exploitation beyond the raw score.

Impact

This is a low-to-moderate real-world risk, not a top-tier priority. The signals are consistent and converge on a low-urgency rating: the provided CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L) yields a base score of 4.6 (Medium), driven down by a Local attack vector and required active user interaction, with only Low confidentiality/integrity/availability impact. EPSS reinforces this, at 0.19% (8th percentile), indicating very low statistical likelihood of exploitation in the near term. There is no CISA KEV listing and no public exploit code referenced, so this is 'no public exploit identified at time of analysis.' No signals conflict - the local vector, low EPSS, absent KEV, and low impact metrics all point the same direction. One caveat worth verifying: the vector sets PR:N (no privileges), but exploitation realistically depends on an attacker being able to influence a filename within the victim's workspace (e.g., via a cloned repo or shared project), which is an access precondition the CVSS vector captures only indirectly through AV:L and UI:A rather than PR. The core risk is AI-agent prompt injection leading to the agent following attacker-controlled instructions, bounded by the agent's permissions in Write mode.

Exploit ScenarioDerived

An attacker crafts a file whose name embeds malicious natural-language instructions and gets it into a repository or project that a victim opens in Windsurf 1.10.7 while using Write mode with the SWE-1 model. When the victim's prompt references or processes that file, the filename is appended to the prompt and the AI agent follows the injected instructions rather than only the user's intent. No public exploit code is identified at time of analysis; local access to the victim's workspace content and user interaction with the agent are required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 19, 2026

A local prompt injection flaw in Windsurf 1.10.7 allows an attacker who can place a specially named file into a project the victim's agent processes to have that filename appended to the user prompt, steering the SWE-1 agent in Write mode toward following attacker-supplied instructions. Impact is bounded to low confidentiality, integrity, and availability effects because the agent's permitted actions limit what the injected instructions can achieve, and exploitation requires the non-default Write mode plus SWE-1 model combination and victim interaction with the agent. No public exploit code has been identified and EPSS is low at 0.19% (8th percentile), with no CISA KEV listing, so this is a low-to-moderate real-world risk rather than a top-tier priority.

RemediationAI

Apply the vendor's fixed Windsurf build once published, tracking releases above 1.10.7 and confirming details in the Tenable research advisory at https://www.tenable.com/security/research/tra-2025-47; note that no vendor-released patch version is identified in the available data at time of analysis, so verify current status with the vendor before assuming exposure is closed. Until a fix is confirmed, avoid the vulnerable combination - do not use Write mode with the SWE-1 model on untrusted codebases - accepting reduced agent autonomy as the trade-off, and review or sanitize filenames in cloned or shared projects before letting the agent process them, which costs manual triage effort but removes the injection vector. Running the agent on workspaces you control, restricting its file-write and command-execution permissions, and reviewing agent actions before acceptance limit blast radius at the cost of developer convenience. Prompt-injection defenses in the model itself cannot be relied upon, so these configuration controls are the practical compensating measures.

Affected ProductsAI

Windsurf version 1.10.7 is affected, specifically when used in Write mode with the SWE-1 model; other modes, models, and versions are not confirmed affected by the available data. No CPE strings were supplied in the intelligence feed, so product identification derives from the vendor research advisory published by Tenable at https://www.tenable.com/security/research/tra-2025-47, which should be consulted for the authoritative list of impacted builds and any configuration caveats.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The issue is a prompt injection weakness in an AI coding assistant, where an untrusted input channel - here the name of a file in the workspace, such as one arriving via a cloned or shared repository - is concatenated into the natural-language prompt sent to the SWE-1 model while the agent operates in Write mode. Because the model cannot reliably distinguish developer intent from adversarial text embedded in filenames, a crafted filename can function as an instruction that redirects the agent's behavior. The assessed vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L) reflects a local attack path with no privileges required but mandatory user interaction, and uniform Low impact across confidentiality, integrity, and availability. The supplied CWE field is empty, but the flaw maps conceptually to improper neutralization of special elements in prompt/instruction handling for LLM-driven tooling; exploitation is tightly gated by the specific 1.10.7 Write-mode and SWE-1 configuration.

Know when the next one hits your stack

  • 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 (tenable) PRIMARY 4.6 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Local because attacker-controlled filename must reach the victim's workspace (AV:L); user must actively use the agent (UI:R); no prior privileges (PR:N); impact limited to the agent's scope (C/I/A:L).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (tenable).

CVSS VectorVendor: tenable

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A prompt injection vulnerability exists in Windsurft version 1.10.7 in Write mode using SWE-1 model.

It is possible to create a file name that will be appended to the user prompt causing Windsurf to follow its instructions.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
Popular AI coding IDE but niche vs mainstream editors; single affected version
Data Quality
3 sources
Confidence: Low

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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