CVE-2025-36730

Windsurf Prompt Injection via Filename

State
Published
Severity
4.6 Medium
Published
Oct 14, 2025
Updated
Oct 14, 2025
Reserved
Apr 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.6 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:Ntenable

Weaknesses

  • CWE-1427 Improper Neutralization of Input Used for LLM Prompting

Affected Products

ProductVersions
WindsurfWindsurf
  • 1.10.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.