CVE-2025-64109CWE-78command-injection

CVE-2025-64109

High · published November 5, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
43.1
In the wild
Unconfirmed
What it is

⚡ A malicious MCP configuration file is all it takes to execute code remotely! Imagine a rogue chef slipping a dangerous recipe into your cookbook—once you follow it, it's game over. 🔥 Think of it like a recipe book where one sneaky page contains instructions for a dish that sets off a fire in your kitchen. If you don’t know to check it first, you could end up with a disaster! An attacker could stealthily execute any command on your system the moment you clone a project and run it in Cursor. This means they could potentially take complete control of your environment, leading to data breaches or a complete system compromise—absolutely devastating!

Put simply

Think of it like a recipe book where one sneaky page contains instructions for a dish that sets off a fire in your kitchen. If you don’t know to check it first, you could end up with a disaster! This vulnerability in Cursor's CLI Beta allows remote code execution via a malicious .cursor/mcp.json file. When a user clones a repository containing this file, the malicious MCP server command executes immediately without any warning.

What to do

An attacker could stealthily execute any command on your system the moment you clone a project and run it in Cursor. This means they could potentially take complete control of your environment, leading to data breaches or a complete system compromise—absolutely devastating! Upgrade to version 2025.09.17-25b418f to fix this vulnerability right away. Additionally, review your repositories for any suspicious MCP configurations and educate your team about safe coding practices. You've got this! By taking these steps, you're one step closer to keeping your environment secure. 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00517 · 43.1th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-11-05T05:15Z
References (1)
EPSS history
Timeline
  • 04 NOV 23:09Z
    Cursor CLI Beta: Command Injection via Untrusted MCP Configuration
    cvelistv5