CVE-2025-36730mediumCWE-1427

CVE-2025-36730: medium-severity vulnerability in Windsurf

Windsurf Prompt Injection via Filename

Published

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

13Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 4.6epss 0.2%
In short

Windsurf version 1.10.7 allows attackers to manipulate the AI model by crafting malicious filenames that get injected into user prompts, causing the AI to follow unintended instructions instead of the user's actual intent.

Technical detail

A prompt injection vulnerability in Windsurf 1.10.7 Write mode (SWE-1 model) allows concatenation of attacker-controlled filenames into the user prompt context. The attack vector requires file creation capability; impact includes AI model instruction override and potential task manipulation.

Summary generated and translated by AI from the 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.
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
Affected products
Windsurf · Windsurf
Related CVEs — Windsurf

In the same product, most dangerous first.