CVE-2025-61592
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2025-61592",
"sourceIdentifier": "[email protected]",
"published": "2025-10-03T18:15:36.067",
"lastModified": "2026-10-19T17:10:00.173",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Cursor es un editor de código construido para programar con IA. En las versiones 1.7 e inferiores, la carga automática de la configuración CLI específica del proyecto desde el directorio de trabajo actual (<project>/.cursor/cli.json) podría anular ciertas configuraciones globales en Cursor CLI. Esto permitía a los usuarios que ejecutaban la CLI dentro de un repositorio malicioso ser vulnerables a la ejecución remota de código a través de una combinación de configuración permisiva (que permite comandos de shell) e inyección de prompt entregada a través de reglas específicas del proyecto (<project>/.cursor/rules/rule.mdc) u otros mecanismos. La solución para este problema está actualmente disponible como un parche 2025.09.17-25b418f. A partir del 3 de octubre de 2025 no hay una versión de lanzamiento."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "cursor",
"product": "cursor",
"versions": [
{
"version": "<= 1.7",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-10-03T18:29:16.001627Z",
"id": "CVE-2025-61592",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-829"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*",
"versionEndIncluding": "1.7",
"matchCriteriaId": "4D061389-A91F-47B4-8F3F-50B343CE1A70"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/cursor/cursor/security/advisories/GHSA-v64q-396f-7m79",
"source": "[email protected]",
"tags": [
"Vendor Advisory"
]
}
]
}