CVE-2025-61590
NixOS vulnerability analysis and mitigation

Overview

Cursor, a code editor built for programming with AI, was found to be vulnerable to Remote Code Execution (RCE) attacks through Visual Studio Code Workspaces in versions 1.6 and below. The vulnerability, identified as CVE-2025-61590, was discovered and disclosed on October 3, 2025. The issue stems from VS Code's automatic creation of untitled workspaces (untitled.code-workspace) that contain folders and workspace settings from the user's current session (GitHub Advisory, NVD).

Technical details

The vulnerability exploits VS Code's workspace functionality, which allows users to open multiple folders and save specific settings similar to .vscode/settings.json. The attack vector emerges when a user has a .code-workspace file in their path, either automatically created or manually saved. The vulnerability received a CVSS v3.1 base score of 7.5 (High), with a vector string of CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating network attack vector, high attack complexity, low privileges required, and no user interaction needed (GitHub Advisory).

Impact

The vulnerability can lead to Remote Code Execution on the victim's system without user approval if an attacker successfully hijacks the user's chat context. This represents a significant security risk as it allows for complete system compromise, potentially affecting the confidentiality, integrity, and availability of the system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Cursor version 1.7. The fix includes adding the extension code-workspace to the list of sensitive files that require user approval. Users are advised to upgrade to version 1.7 or later to protect against this vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management