Vulnerabilities

CVE-2025-61592

High 8.8 CVSS 3.1

Description

Cursor is a code editor built for programming with AI. In versions 1.7 and below, automatic loading of project-specific CLI configuration from the current working directory (<project>/.cursor/cli.json) could override certain global configurations in Cursor CLI. This allowed users running the CLI inside a malicious repository to be vulnerable to Remote Code Execution through a combination of permissive configuration (allowing shell commands) and prompt injection delivered via project-specific Rules (<project>/.cursor/rules/rule.mdc) or other mechanisms. The fix for this issue is currently available as a patch 2025.09.17-25b418f. As of October 3, 2025 there is no release version.

Description as published by the source, in English.

Key facts

Published
2025-10-03
Last modified
2026-10-19
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
security-advisories@github.com
Probability of exploitation
0.4 % higher than 35 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Anysphere Cursor ≤ 1.7 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1055: Process Injection stealth, privilege-escalation
  • T1176: Software Extensions persistence
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1505.004: IIS Components persistence
  • T1505.005: Terminal Services DLL persistence
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.013: KernelCallbackTable stealth, execution
  • T1620: Reflective Code Loading stealth

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities