Vulnerability · Published Oct 14, 2025 · Assigned by tenable

CVE-2025-36730Windsurf Prompt Injection via Filename

Medium 4.6

In plain English

A medium-severity security flaw in Windsurf from Windsurf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).

Severity (CVSS 4.0)4.6Medium
Exploit odds (30 days)0.2%top 91.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A prompt injection vulnerability exists in Windsurft version 1.10.7 in Write mode using SWE-1 model. It is possible to create a file name that will be appended to the user prompt causing Windsurf to follow its instructions.

Affected products (as reported)

VendorProductVersions
Windsurf Windsurf 1.10.7

Weakness: CWE-1427 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

References