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.
History

Mon, 15 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Cursor Desktop sandbox escape via Claude hook configuration
Weaknesses CWE-829
CWE-94
References
Metrics cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-15T19:56:07.573Z

Reserved: 2026-05-20T18:46:58.291Z

Link: CVE-2026-48124

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-15T21:17:13.927

Modified: 2026-06-15T21:17:13.927

Link: CVE-2026-48124

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.