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

Inspect in Interactive Incidents Hub

Defensive lesson

Enforce OS-level workspace sandboxing and canonical path containment on every AI IDE file read and write tool.

Referenced techniques