# CVE-2025-36730: Windsurf Prompt Injection via Filename

> CVE-2025-36730: Windsurf Prompt Injection via Filename. CVSS 4.6 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-36730
Last updated: 2026-10-19T16:10:00Z

- Published: 2025-10-14 16:24 UTC · Updated: 2026-10-19 16:10 UTC · Assigner: tenable
- CVSS: 4.6 (CVSS 4.0) · Severity: Medium
- EPSS: 0.19%, 8th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-1427

## 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 vendors and products

- Windsurf: Windsurf

## Tracked companies

- [Windsurf](https://rewindex.com/company/windsurf.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-36730)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-36730)
- [https://www.tenable.com/security/research/tra-2025-47](https://www.tenable.com/security/research/tra-2025-47)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-36730 · Markdown: https://rewindex.com/cve/CVE-2025-36730.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-36730 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:05:13.081Z
