# CVE-2025-64109: Cursor CLI Beta: Command Injection via Untrusted MCP Configuration

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-11-04T23:09:49.147Z
- Modified: 2026-10-19T13:10:00.110Z
- 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 and below, a vulnerability in the Cursor CLI Beta allowed an attacker to achieve remote code execution through the MCP (Model Context Protocol) server mechanism by uploading a malicious MCP configuration in .cursor/mcp.json file in a GitHub repository. Once a victim clones the project and opens it using Cursor CLI, the command to run the malicious MCP server is immediately executed without any warning, leading to potential code execution as soon as the command runs. This issue is fixed in version 2025.09.17-25b418f.

(As written by CVE List.)

## Affected

- cursor cursor: < 2025.09.17-25b418f

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-4hwr-97q3-37w2>

## Sources

- CVE List: [CVE-2025-64109](https://www.cve.org/CVERecord?id=CVE-2025-64109), CVE Terms of Use, modified 2025-11-07
- NVD: [CVE-2025-64109](https://nvd.nist.gov/vuln/detail/CVE-2025-64109), Public domain, modified 2026-10-19

---

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