CVE-2025-62353 Path traversal in Windsurf

Critical 9.8 Published Updated

Attackers can read and write arbitrary local files via path traversal in Windsurf IDE, potentially compromising user data and system integrity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-62353?

CVE-2025-62353 is a critical path traversal vulnerability in Windsurf, published on 17 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2025-62353?

How do I fix CVE-2025-62353?

No fix has been published for CVE-2025-62353 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-62353 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62353 exists.

Sources

Also known as GHSA-gxc9-77c7-jmqm.

Is CVE-2025-62353 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free