Skip to content
HighVulnerability

CVE-2025-64109: Cursor CLI Beta remote code execution via malicious MCP configuration

Identifier
CVE-2025-64109
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Cursor's CLI Beta, in versions up to and including the listed range (the source text does not state the exact upper bound), allowed remote code execution through the MCP server mechanism. An attacker could plant a malicious MCP configuration in the .cursor/mcp.json file of a GitHub repository, and when a victim cloned the project and opened it with Cursor CLI, the embedded command ran immediately with no warning.

Mitigation

Fixed in version 2025.09.17-25b418f.