Skip to content
feed: live
0dayNews
CVE Record
[ HIGH ]CVE-2026-48124

Cursor Desktop workspace hook sandbox escape

Cursor Desktop before v3.0.0 executes workspace hook commands without user approval, allowing sandbox escape or persistent code execution in the user context. Fixed in v3.0.0.

Vendor
Anysphere
Product
Cursor Desktop (versions prior to 3.0.0)
CVSS
N/A
EPSS (exploit probability)
0.1%
Status
patched
Published

Is CVE-2026-48124 being exploited?

Not on any exploited-vulnerability catalog we track. CVE-2026-48124 was not on the CISA, ENISA or CIRCL exploited catalogs as of our 2026-11-22 snapshot. That can change quickly; check the write-up below for the latest reporting.

FIRST's EPSS model puts the probability of exploitation activity in the next 30 days at 0.1% (scored October 25, 2026).

Catalog snapshot 2026-11-22. Full cross-catalog view: /kev-comparison

CVE-2026-48124 timeline

  1. Published to NVD
  2. First 0dayNews coverage+35d

Every event links to its source. Catalog dates are each catalog's own; day offsets count from NVD publication. Data: JSON

Cursor Desktop prior to v3.0.0 reads workspace-level Claude hook commands from .claude/settings.local.json and executes them when an agent turn ends, without requiring a dedicated user approval step. A malicious repository, third-party workspace, or agent-written config file can place arbitrary commands in that location. When the user opens the workspace — or when the agent completes a turn — those commands run with the user’s full OS privileges, outside the agent sandbox.

Impact: sandbox escape, command persistence across agent turns, local filesystem access, and follow-on compromise. No CVSS score has been assigned by NVD at time of publication. Severity is classified high based on the impact (unauthenticated arbitrary local command execution from a trusted tool context).

The flaw was part of Pillar Security’s “Week of Sandbox Escapes” research, documented by Eilon Cohen, Dan Lisichkin, and Ariel Fogel, which found the same workspace-trust escape pattern across Cursor, OpenAI Codex CLI, Google Gemini CLI, and Google Antigravity. NVD published CVE-2026-48124 on 2026-06-15.

Patch: upgrade Cursor Desktop to v3.0.0 or later. NVD record. Related: BleepingComputer writeup.

CVE / VulnerabilitySeverityCVSSEPSSAdded to KEV
CVE-2026-50549
Cursor symlink approval-dialog bypass (GhostApproval)write-up
[ CRITICAL ]9.81.0%—