Read the docs
TI-2025-38037 Aliases CVE-2025-61591

Cursor CLI's Cursor Agent MCP OAuth2 Communication is Vulnerable to Remote Code Execution

Priority MEDIUM 48CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Cursor is a code editor built for programming with AI. In versions 1.7 and below, when MCP uses OAuth authentication with an untrusted MCP server, an attacker can impersonate a malicious MCP server and return crafted, maliciously injected commands during the interaction process, leading to command injection and potential remote code execution. If chained with an untrusted MCP service via OAuth, this command injection vulnerability could allow arbitrary code execution on the host by the agent. This can then be used to directly compromise the system by executing malicious commands with full user privileges. This issue does not currently have a fixed release version, but there is a patch, 2025.09.17-25b418f.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01159 67th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cursorcursorup to 1.7—No fix listedCNA
  • cursor Vendorcursor Affected up to 1.7 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*up to 1.7Vulnerablecursor
  • cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:* Versions up to 1.7 Vulnerable ·cursor

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-61591

References

  • TI-2026-45043 Cursor for Windows 3.2.16 RCE via Malicious git.exe in Workspace CVSS 4.0HIGH 8.7
  • TI-2025-33979 Cursor's Modification of MCP Server Definitions Bypasses Manual Re-approvals CVSS 3.1HIGH 8.8
  • TI-2026-37271 Cursor Desktop sandbox escape via symlink and failed path canonicalization CVSS 4.0CRITICAL 9.3
  • TI-2026-37270 Cursor Desktop sandbox escape via agent-controlled working directory CVSS 4.0CRITICAL 9.3
  • TI-2025-33978 Cursor Agent is vulnerable to prompt injection via MCP Special Files CVSS 3.1CRITICAL 9.8
  • TI-2026-21238 Cursor sandbox escape via Git hooks CVSS 3.1CRITICAL 9.9
See all 21 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences