RCE via .code-workspace files using Prompt Injection
CVE-2025-61590 · GHSA-xg6w-rmh5-r77r · published 2025-10-02
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- Not scored
- Fixed in
- 1.7
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
The impact could be as severe as RCE on the victim with no user approval if the attacker is able to hijack the user's chat context via prompt injection or some other means.
Upgrade cursor to 1.7 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Added the extension code-workspace to the list of sensitive files that require user approval.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| cursor | App | < 1.7 | 1.7 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- CriticalCursor Desktop sandbox escape via agent-controlled working directorycursor
- CriticalCursor Desktop sandbox escape via symlink and failed path canonicalizationcursor
- HighSandbox escape via tampered Python virtual environmentscursor
- HighSandbox escape via launching privileged containerscursor
- HighCursor Desktop sandbox escape via Claude hook configurationcursor
- HighSandbox escape via Git hookscursor
The impact, patch and workaround text comes from the advisory, shortened (published by Cursor). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.