AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

CursorGHSA-pc9j-3qc2-95wv

Cursor Desktop sandbox escape via Claude hook configuration

Cursor

CVE-2026-48124 · Published May 21, 2026

High8.5
Fix: upgrade to 3.0.0 or later
GitHub advisory

Summary

Cursor Desktop could execute workspace-defined Claude hook commands from .claude/settings.local.json without dedicated user approval.

Impact

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.

Remediation

Update Cursor Desktop to a patched version. Workspace-sourced hook commands now require appropriate approval and are subject to the same execution policy controls as other agent shell commands.

Affected versions

PackageAffectedFixed in
Cursor
Product
< 3.0.03.0.0
Details and references
CVSS 4.0
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
Severity from
GitHub (reviewed advisory)

More Cursor advisories

All Cursor