CVE-2025-64107
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-64107 affects Cursor, a code editor built for programming with AI, in versions 1.7.52 and below. The vulnerability was discovered and disclosed in November 2025. The issue involves a path manipulation vulnerability that could allow attackers to bypass sensitive file protection mechanisms on Windows systems (GitHub Advisory).

Technical details

The vulnerability stems from incorrect path parsing based on the underlying platform. While Cursor correctly detects path manipulation attempts using forward slashes (./.cursor/./././././mcp.json) and requires human approval, it fails to properly detect similar manipulation using backslashes on Windows systems. This oversight in the security check implementation could allow an attacker to overwrite sensitive editor files without the required approval process. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, this vulnerability could lead to Remote Code Execution (RCE) on affected systems. However, the attack requires an attacker to have already achieved prompt injection or some other level of control. The impact is limited to Windows machines, where an attacker could potentially overwrite sensitive editor files without triggering the normal approval mechanisms (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Cursor version 2.0. Users are advised to upgrade to this version or later to protect against this security issue (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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

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