Incident report
Windsurf IDE Agent Path Traversal Enabling Arbitrary Host File Read and Write
CVE-2025-62353 (published October 17, 2025) documented a path traversal vulnerability in the Windsurf AI code editor's agent file-handling layer. Insufficient workspace boundary enforcement allowed crafted paths triggered through agent tool calls to read or write arbitrary files outside the active project workspace on the developer's machine. In workflows processing external PRs or documentation, arbitrary host writes threatened credential theft and local code execution. Maintainers issued patched IDE builds enforcing stricter canonical workspace path containment.
Incident record
- Reported
- Severity
- High
- Vector
- Tool/MCP Abuse
- Affected system type
- AI-Native Code Editors & Agentic IDEs
- Reference
CVE-2025-62353- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-62353
Defensive lesson
Enforce OS-level workspace sandboxing and canonical path containment on every AI IDE file read and write tool.
Referenced techniques
- Data from Local System AML.T0037
- AI Agent Tool Invocation AML.T0053
- Modify AI Agent Configuration AML.T0081
- Machine Compromise: Local AI Agent AML.T0112.000