CVE-2026-48124

Cursor is a code editor built for programming with AI. In versions prior to 3.0.0, the Cursor Desktop could execute workspace-defined Claude hook commands from .claude/settings.local.json without dedicated user approval. A malicious workspace or agent-created file could configure hooks that run local commands in the user's context when an agent turn ends. This could allow sandbox escape, persistence across turns, local data access, or follow-on compromise. This issue has been fixed in version 3.0.0.
CVSS

No CVSS.

Configurations

No configuration.

History

15 Jun 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-15 21:17

Updated : 2026-06-17 10:54


NVD link : CVE-2026-48124

Mitre link : CVE-2026-48124

CVE.ORG link : CVE-2026-48124


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-829

Inclusion of Functionality from Untrusted Control Sphere