CVE-2025-62353 Details
Description
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.
A path traversal vulnerability has been identified in all versions of the Windsurf IDE. This vulnerability allows a threat actor to read and write arbitrary local files, both within and outside of the current projects on an end user's system. The issue arises in the 'codebase_search' and 'write_to_file' tools, which fail to properly validate input paths. As a result, attackers can access files beyond the designated project directory, potentially leading to unauthorized reading from and writing to various locations on the user's filesystem. Notably, this vulnerability can be exploited directly or through indirect prompt injection.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 17, 2025CISA-ADP
Assessed Oct 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hiddenlayer.com/sai_security_advisor/2025-10-windsurf/ | HiddenLayer | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | HiddenLayer |
Affected Products
| Product | Versions |
|---|---|
| Windsurf | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | HiddenLayer |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 17, 2025 | New CVE Received | HiddenLayer |
Volerion