Skip to content
HighVulnerabilityLLM-specific

CVE-2025-61593: Cursor CLI Agent prompt injection leads to code execution

Identifier
CVE-2025-61593
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2025-61593 affects Cursor, an AI-assisted code editor, in versions 1.7 and below. A flaw in how the Cursor CLI Agent protects sensitive files such as */.cursor/cli.json lets prompt injection modify their contents, enabling remote code execution, with full RCE possible on case-insensitive filesystems.

Mitigation

This issue is fixed in a commit, 25b418f, but has yet to be released as of October 3, 2025.