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

Published Nov 4, 2025
·
Updated

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.

Affected Software

1 affected component
Cursor Cursor CLI Beta<2025.09.17-25b418f

Event History

Nov 4, 2025
CVE Published
via MITRE·11:09 PM
Data Sourced
via MITRE·11:09 PM
DescriptionSeverityWeakness
Nov 5, 2025
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-64109?

CVE-2025-64109 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2025-64109?

To mitigate CVE-2025-64109, update your Cursor CLI Beta to a version later than 2025.09.17-25b418f.

3

Who is affected by CVE-2025-64109?

CVE-2025-64109 affects users of Cursor CLI Beta prior to version 2025.09.17-25b418f.

4

What kind of attack does CVE-2025-64109 enable?

CVE-2025-64109 allows attackers to execute arbitrary code remotely through uploading a malicious MCP configuration.

5

What does MCP stand for in relation to CVE-2025-64109?

In CVE-2025-64109, MCP stands for Model Context Protocol, which is the mechanism exploited for the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203