Skip to main content

Windsurf IDE CVE-2025-62353

CRITICAL
Path Traversal (CWE-22)
2025-10-17 6f8de1f0-f67e-45a6-b68f-98777fdb759c
9.8
CVSS 3.1 · Vendor: 6f8de1f0-f67e-45a6-b68f-98777fdb759c
View

Attack ChainAIDerived

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

  1. Access
    Deliver malicious repo or file to developer
  2. Delivery
    Victim opens content in Windsurf IDE
  3. Exploit
    Indirect prompt injection triggers path traversal
  4. Execution
    IDE reads/writes files outside project
  5. Impact
    Exfiltrate 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (6f8de1f0-f67e-45a6-b68f-98777fdb759c) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

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

Primary rating from Vendor (6f8de1f0-f67e-45a6-b68f-98777fdb759c).

CVSS VectorVendor: 6f8de1f0-f67e-45a6-b68f-98777fdb759c

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 50% exploitable
Prevalence
Medium
popular AI-assisted coding IDE, common among developers but not ubiquitous
Data Quality
2 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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