Skip to content
HighVulnerabilityLLM-specific

CVE-2025-54130: Cursor writes in-workspace files without user approval

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

Summary

Cursor, an AI-assisted code editor, allows in-workspace file writes without user approval in versions less than 1.3.9. Creating a new dotfile does not require approval, even though editing an existing one does. If files such as .vscode/settings.json do not already exist, an attacker can chain an indirect prompt injection to hijack the context, write the settings file, and trigger RCE on the victim without approval.

Mitigation

Fixed in version 1.3.9.