CVE-2025-61593CWE-178CWE-94code-injection

CVE-2025-61593

High · published October 3, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
34.3
In the wild
Unconfirmed
What it is

Cursor is a code editor built for programming with AI. In versions 1.7 and below, a vulnerability in the way Cursor CLI Agent protects its sensitive files (i.e. */.cursor/cli.json) allows attackers to modify the content of the files through prompt injection, thus achieving remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive filesystems. This issue is fixed in a commit, 25b418f, but has yet to be released as of October 3, 2025.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00412 · 34.3th percentile
Weaknesses
CWE-178 · Improper Handling of Case Sensitivity; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-10-03T22:15Z
Affected products (1)
ProductVersionsFixed in
anysphere/cursor≤ 1.7—
References (1)
EPSS history
Timeline
  • 03 OCT 17:28Z
    Cursor CLI Agent: Sensitive File Overwrite Bypass
    cvelistv5