mcp-cve-project

CVE-2025-54135 | Cursor mcp.json unauthorized creation leading to RCE | Severity: see NVD

CVE Information

Field Value
CVE / NVD CVE-2025-54135
Date (index) 2025-08-04
Affected product (index) Cursor
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP04 — Software Supply Chain Attacks & Dependency Tampering
Published / disclosed 2025-08-04
Ecosystem Application (vendor product)
Component Cursor
EPSS score 0.017190000 (FIRST EPSS, 2026-06-30)
CVSS score 9.8 CRITICAL CVSS v3.1 (NVD)
CWE CWE-78
Affected versions cursor < 1.3.9
Fixed versions 1.3.9
Fix status Patched
Exploit status Public CVE record; do not mirror weaponized payloads
Notes Added during the 2026-05-22 missing-CVE review. Re-check NVD before using this entry for compliance reporting.

CVE Breakdown


What is the vulnerability?

CVE-2025-54135 tracks mcp config creation / command execution affecting Cursor. The issue is relevant to MCP deployments because the vulnerable component exposes MCP tools, transport handling, registry functionality, client configuration, or MCP-adjacent automation that can affect developer workstations, agents, secrets, local files, clusters, databases, or backend services.

Attack prerequisites / exposure

Exposure depends on how the affected component is deployed. Prioritize systems where the MCP server, client integration, or gateway is reachable by untrusted users, accepts attacker-controlled tool arguments, loads external MCP configuration, or runs with access to sensitive local files, credentials, repositories, cloud APIs, Kubernetes clusters, or internal network resources.

CVE is because of what bug?

Weakness class: MCP config creation / command execution. Confirm the exact CWE and affected code path in the NVD record and linked upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components often bridge model output to privileged tools. Vulnerabilities in command execution, sandbox isolation, path handling, SSRF validation, registry trust, or configuration loading can let attacker-controlled prompts, repositories, URLs, or tool arguments cross into host execution, data exfiltration, or unauthorized internal access.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / tag diff. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected MCP component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification

Patch

Track NVD references for CVE-2025-54135 and apply the upstream patched release or commit recommended by the vendor/CNA.