# CVE-2026-48124: Cursor Desktop sandbox escape via Claude hook configuration

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-06-15T19:56:07.573Z
- Modified: 2026-06-17T10:54:52.477Z
- Weaknesses: CWE-94, CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- cursor cursor: < 3.0.0

## References

- <https://github.com/cursor/cursor/security/advisories/GHSA-pc9j-3qc2-95wv>

## Sources

- CVE List: [CVE-2026-48124](https://www.cve.org/CVERecord?id=CVE-2026-48124), CVE Terms of Use, modified 2026-06-16
- NVD: [CVE-2026-48124](https://nvd.nist.gov/vuln/detail/CVE-2026-48124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-48124 · Whole record: https://cve.day/CVE-2026-48124.json · Rebuilt by cve.day 2026-11-25T22:59:24.695Z
