Home

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.

PUBLISHED Reserved 2025-10-27 | Published 2025-11-04 | Updated 2025-11-07 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

< 2025.09.17-25b418f
affected

References

github.com/...cursor/security/advisories/GHSA-4hwr-97q3-37w2

cve.org (CVE-2025-64109)

nvd.nist.gov (CVE-2025-64109)

Download JSON