| Field | Value |
|---|---|
| CVE / NVD | CVE-2025-59944 |
| Date (index) | 2025-10-03 |
| Affected product (index) | Cursor IDE |
| GHSA ID | GHSA-xcwh-rrwj-gxc7 |
| OWASP MCP Top 10 (2025) | MCP04 — Software Supply Chain Attacks & Dependency Tampering |
| Published / disclosed | 2025-10-03 |
| Ecosystem | Application (vendor product) |
| Component | Cursor IDE |
| EPSS score | 0.003370000 (FIRST EPSS, 2026-06-30) |
| CVSS score | High — 8.0 — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H (NVD CVSS 3.1) |
| CWE | CWE-178 |
| Affected versions | Cursor 1.6.23 and below (per NVD) |
| Fixed versions | >= 1.7 |
| Fix status | Patched (per NVD description) |
| Exploit status | Public CVE record |
| Notes | Details below are aligned to the English NVD description at indexing time; re-check NVD for CNA updates. |
Cursor is a code editor built for programming with AI. Versions 1.6.23 and below contain case-sensitive checks in the way Cursor IDE protects its sensitive files (e.g., */.cursor/mcp.json), which allows attackers to modify the content of these files through prompt injection and achieve remote code execution. A prompt injection can lead to full RCE through modifying sensitive files on case-insensitive fileystems. This issue is fixed in version 1.7.
Depends on deployment: many MCP issues require a reachable HTTP/SSE listener, a malicious remote MCP server, a poisoned project/workspace config, or a victim opening attacker-influenced content. Treat developer workstations and shared CI runners as high-value targets when MCP servers run with host access.
See the NVD description and linked references for the upstream root cause; CWE rows above summarize the weakness mapping published by NVD.
MCP extends an agent’s reach into tools, hosts, and cloud APIs. Failures in transport authentication, logging, URL validation, session binding, or local config loading frequently become RCE, credential theft, SSRF, or session hijacking in MCP-shaped deployments.
Add a minimal vulnerable code snippet here after reviewing the linked upstream commit / tag diff (do not paste weaponized payloads).
Upgrade to vendor-fixed versions where available, reduce network exposure (bind to localhost, require auth on HTTP transports), and apply standard MCP deployment hygiene (tool allowlists, egress controls, separate secrets from logs).
references for commits, tags, and release notes.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2025-59944 and apply the upstream patched release/commit recommended by the vendor/CNA.