Windsurf IDE CVE-2025-62353
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious repo or file to developer
-
DeliveryVictim opens content in Windsurf IDE
-
ExploitIndirect prompt injection triggers path traversal
-
ExecutionIDE reads/writes files outside project
-
ImpactExfiltrate credentials or plant malicious files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must be running the Windsurf IDE and either directly invoke the vulnerable file-handling path or have the IDE's AI assistant process attacker-controlled content (a crafted repository, file, or web resource) that carries injected instructions. All versions are affected, so no specific patch-level or configuration toggle is required. The primary limiting factor is that exploitation depends on the developer opening or letting the assistant analyze attacker-supplied content - meaning realistic attacks require some victim interaction despite the input vector's UI:N, which should be treated as a mitigating factor when triaging. |
| Impact | The input CVSS of 9.8 (AV:N/AC:L/PR:N/UI:N) rates this as critical, and the underlying flaw is genuinely serious: arbitrary local file read AND write (C:H/I:H) outside project boundaries in an AI-assisted IDE, which can escalate toward code execution or credential theft. However, the real-world risk signals are thinner than the score implies. No EPSS score, no CISA KEV listing, and no public POC were provided - so this is a high-CVSS issue without confirmed active exploitation (no public exploit identified at time of analysis). The AV:N / UI:N combination is questionable for an IDE flaw: the description says exploitation occurs 'directly and through indirect prompt injection,' and prompt-injection delivery realistically requires the victim to open or have their AI assistant process attacker-controlled content, which points to UI being required rather than UI:N - verify the 'direct' trigger path with the vendor/researcher. Net assessment: a credible, high-impact vulnerability that warrants prompt patching (all versions affected), but the absence of KEV/EPSS/POC suggests it is not yet subject to widespread opportunistic exploitation; prioritize based on Windsurf deployment in your developer population. |
| Exploit ScenarioDerived | An attacker plants a malicious repository, file, or web resource containing hidden instructions; when a developer opens it in Windsurf or asks the IDE's AI assistant to analyze it, an indirect prompt injection triggers the path traversal, causing the IDE to read sensitive files (SSH keys, cloud credentials) or write to locations outside the project. No public exploit code was identified at time of analysis, but the technique is well-understood and low-complexity (AC:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Arbitrary local file read and write in Windsurf IDE affects all released versions, allowing an attacker who supplies crafted repository content or injected AI-assistant instructions to access and modify files outside the open project. The flaw is a CWE-22 path traversal reachable directly and through indirect prompt injection; exploitation requires the victim to invoke the vulnerable file-handling path or have the AI assistant process attacker-controlled content, and no public exploit identified at time of analysis. The input CVSS is 9.8, but the assessed vector adds UI:R, so triage should weigh the required user interaction.
RemediationAI
No vendor-released patch identified at time of analysis; monitor the HiddenLayer advisory at https://hiddenlayer.com/sai_security_advisor/2025-10-windsurf/ and the vendor's release channel for a fixed build. Until then, run Windsurf IDE inside a VM or container with only the necessary project directories mounted and no sensitive host paths exposed-trade-off is reduced IDE integration and performance. Use a dedicated low-privilege OS account and filesystem ACLs to deny the IDE access to SSH keys, cloud credentials, browser profiles, and other secrets-this may break normal local workflows. Avoid opening untrusted repositories or letting the AI assistant analyze attacker-supplied files or web content, and restrict the assistant to workspace-only access where the product supports it-trade-off is reduced assistant functionality.
Affected ProductsAI
All versions of Windsurf IDE are affected according to the HiddenLayer advisory (https://hiddenlayer.com/sai_security_advisor/2025-10-windsurf/). No specific version range, fixed release, or CPE enumeration was provided in the input data, so teams should inventory any Windsurf IDE installation and treat it as vulnerable until the vendor publishes a patched build.
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
Windsurf IDE is an AI-assisted development environment whose assistant can read and act on project and local files. CVE-2025-62353 is a CWE-22 path traversal in the IDE's file-handling path: insufficient normalization or containment of attacker-influenced paths lets a threat actor escape the current project root and read or write arbitrary local files. The same path can be reached directly or indirectly when the AI assistant processes attacker-controlled repository content, files, or web resources containing injected instructions. No CPE strings were supplied; the advisory states all versions are affected.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-delivered via prompt injection (AV:N) and low complexity, but the victim must process attacker content in the IDE, so UI:R; arbitrary read/write yields C:H/I:H and potential corruption A:H.
Primary rating from Vendor (6f8de1f0-f67e-45a6-b68f-98777fdb759c).
CVSS VectorVendor: 6f8de1f0-f67e-45a6-b68f-98777fdb759c
DescriptionCVE.org
A path traversal vulnerability in all versions of the Windsurf IDE enables a threat actor to read and write arbitrary local files in and outside of current projects on an end user’s system. The vulnerability can be reached directly and through indirect prompt injection.
Executive ViewAI
Windsurf IDE, an AI-assisted development environment used across engineering, contains a critical path-traversal flaw (CVE-2025-62353) affecting every released version that lets crafted repository content or injected AI-assistant instructions read and write files outside the open project. Because the tool runs with the developer's own privileges on their workstation, the exposure is to source code, credentials, SSH keys, and configuration files that sit within reach of that account. Leadership should care because the attack path runs through routine developer behavior - cloning a third-party repo or letting the assistant process untrusted content - and no vendor patch is available yet, so exposure is bounded only by the controls we put around the tool.
No vendor-released patch identified at time of analysis. Interim mitigations: prohibit opening untrusted or third-party repositories and pasting external content into the AI assistant; run Windsurf in a container, VM, or dedicated low-privilege account with no standing production credentials, SSH keys, or cloud tokens present; enforce least privilege on developer workstations; deploy file-system monitoring/EDR alerting on Windsurf process reads and writes outside the project directory; and restrict or disable AI-assistant auto-processing of repository content via policy until a fixed version ships.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB