CVE-2025-54136
highpriority · attend · 55EPSS 0.285 · 98 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
Cursor is a code editor built for programming with AI. In versions 1.2.4 and below, attackers can achieve remote and persistent code execution by modifying an already trusted MCP configuration file inside a shared GitHub repository or editing the file locally on the target's machine. Once a collaborator accepts a harmless MCP, the attacker can silently swap it for a malicious command (e.g., calc.exe) without triggering any warning or re-prompt. If an attacker has write permissions on a user's active branches of a source repository that contains existing MCP servers the user has previously approved, or allows an attacker has arbitrary file-write locally, the attacker can achieve arbitrary code execution. This is fixed in version 1.3.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
- PRE5T0/CVE-2025-54136CVE-2025-54136 PoCPoC · 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-54136cnnvd
- https://cursor.com/downloadsPatchcnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-54136cnnvd
- https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395enisa_euvd
- https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan