CVE Catalog

CVE-2025-36730

MediumCVSS 4.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

A prompt injection vulnerability exists in Windsurf version 1.10.7 in Write mode using the 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.

Risk Assessment

An attacker could trick a user into opening a specially crafted file, potentially leading the AI model to perform unintended actions on the user's behalf. This may result in file modification or data leakage.

Recommendation

Update Windsurf to a version later than 1.10.7 or apply a workaround by avoiding Write mode with the SWE-1 model until a fix is released. Exercise caution when opening files from untrusted sources.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS