CVE-2025-54135
criticalpriority · attend · 50EPSS 0.018 · 78 %ileexploit · PoCEURUUSEPSS · scored 2026-10-24
Cursor is a code editor built for programming with AI. Cursor allows writing in-workspace files with no user approval in versions below 1.3.9, If the file is a dotfile, editing it requires approval but creating a new one doesn't. Hence, if sensitive MCP files, such as the .cursor/mcp.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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.5–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- anntsmart/CVE-2025-54135anntsmart/CVE-2025-54135PoC · poc_in_github
- hn1e13/test-mcpA repo for CVE-2025-54135 reproductionPoC · poc_in_github
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-54135cnnvd
- https://cursor.com/downloadsPatchcnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-4cxx-hrm3-49rmcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-54135cnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-4cxx-hrm3-49rmenisa_euvd
- https://github.com/cursor/cursor/security/advisories/GHSA-4cxx-hrm3-49rmMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan