# CVE-2025-54136: Cursor's Modification of MCP Server Definitions Bypasses Manual Re-approvals

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 30.9%, higher than 98% of CVEs (2026-12-02)
- Published: 2025-08-01T23:08:21.817Z
- Modified: 2026-06-17T09:39:30.987Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- cursor cursor: < 1.3
- anysphere cursor: before 1.3

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-24mc-g4xr-4395> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-54136](https://www.cve.org/CVERecord?id=CVE-2025-54136), CVE Terms of Use, modified 2025-08-04
- NVD: [CVE-2025-54136](https://nvd.nist.gov/vuln/detail/CVE-2025-54136), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54136 · Whole record: https://cve.day/CVE-2025-54136.json · Rebuilt by cve.day 2026-11-25T22:59:01.986Z
