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.

INFO

Published Date :

2025-08-05T00:12:28.632Z

Last Modified :

2025-08-05T13:57:58.596Z

Source :

GitHub_M
AFFECTED PRODUCTS

The following products are affected by CVE-2025-54130 vulnerability.

Vendors Products
Anysphere
  • Cursor
Cursor
  • Cursor
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-54130.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact