# CVE-2025-54130: Cursor Agent is vulnerable prompt injection via Editor Special Files

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-08-05T00:12:28.632Z
- Modified: 2026-06-17T09:39:30.283Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Cursor is a code editor built for programming with AI. Cursor allows writing in-workspace files with no user approval in versions less than 1.3.9. If the file is a dotfile, editing it requires approval but creating a new one doesn't. Hence, if sensitive editor files, such as the .vscode/settings.json file don't already exist in the workspace, an attacker can chain a indirect prompt injection vulnerability to hijack the context to write to the settings file and trigger RCE on the victim without user approval. This is fixed in version 1.3.9.

(As written by CVE List.)

## Affected

- cursor cursor: < 1.3.9
- anysphere cursor: before 1.3.9

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-vqv7-vq92-x87f> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-54130](https://www.cve.org/CVERecord?id=CVE-2025-54130), CVE Terms of Use, modified 2025-08-05
- NVD: [CVE-2025-54130](https://nvd.nist.gov/vuln/detail/CVE-2025-54130), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54130 · Whole record: https://cve.day/CVE-2025-54130.json · Rebuilt by cve.day 2026-11-25T22:59:02.040Z
