Auth bypass in Anysphere Cursor
CVE-2025-54130
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (20.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 20th percentile — 20.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Anysphere Cursor
- Cursor — versions < 1.3.9
Weakness classification (CWE)
References
- github.com/cursor/cursor/security/advisories/GHSA-vqv7-vq92-x87f (Vendor Advisory)
Frequently asked questions
- What is CVE-2025-54130?
- CVE-2025-54130 is a high-severity vulnerability in Anysphere Cursor, classified under Improper Authorization. CVSS score: 7.5/10. Published 2025-08-05.
- How severe is CVE-2025-54130?
- High severity. CVSS v3 base score is 7.5 out of 10.