{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-36730 exists.","fix":"No fix has been published for CVE-2025-36730 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-36730 is a medium-severity code injection vulnerability in Windsurf, published on 14 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-36730 and fix it if it is affected.\n\nWhat it is: CVE-2025-36730 is a medium-severity code injection vulnerability in Windsurf, published on 14 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-36730 exists.\n\nAffected product: Windsurf. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-36730/ (Markdown: https://insights.sbomify.com/CVE-2025-36730/index.md)","id":"CVE-2025-36730","markdown":"https://insights.sbomify.com/CVE-2025-36730/index.md","name":"CVE-2025-36730","record":{"aliases":["GHSA-6mh4-fc28-667v"],"analysis":{"component_type":"developer_tool","fix_type":"no_fix_stated","impacts":["code_execution","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AI coding assistant","requires_auth":"none","summary":"Attackers can inject malicious instructions via filenames to manipulate the AI coding assistant's behavior, potentially leading to unauthorized code execution.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"tenable","cpe":[],"cvss":{"score":4.6,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1427","name":"Improper Neutralization of Input Used for LLM Prompting"}],"description":"A prompt injection vulnerability exists in Windsurft version 1.10.7 in Write mode using SWE-1 model.\n\nIt is possible to create a file name that will be appended to the user prompt causing Windsurf to follow its instructions.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"Windsurf Prompt Injection via Filename","id":"CVE-2025-36730","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"SolarEdge SE3680H - Exposed Debug interface","id":"CVE-2025-36743"},"packages":[],"prev":{"headline":"RACOM M!DGE2 Privilege Escalation via SDK Testing Endpoint","id":"CVE-2025-36729"},"products":["Windsurf"],"published":"2025-10-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-14","vendors":["Windsurf"]},"summary":"Attackers can inject malicious instructions via filenames to manipulate the AI coding assistant's behavior, potentially leading to unauthorized code execution.","url":"https://insights.sbomify.com/CVE-2025-36730/"}