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

> CVE-2026-48124: Cursor Desktop sandbox escape via Claude hook configuration. CVSS 8.5 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2026-48124
Last updated: 2026-06-17T10:54:52Z

- Published: 2026-06-15 19:56 UTC · Updated: 2026-06-17 10:54 UTC · Assigner: GitHub\_M
- CVSS: 8.5 (CVSS 4.0) · Severity: High
- EPSS: 0.14%, 4th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-829, CWE-94

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

## Affected vendors and products

- cursor: cursor

## Tracked companies

- [Cursor](https://rewindex.com/company/cursor.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-48124)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-48124)
- [https://github.com/cursor/cursor/security/advisories/GHSA-pc9j-3qc2-95wv](https://github.com/cursor/cursor/security/advisories/GHSA-pc9j-3qc2-95wv)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-48124 · Markdown: https://rewindex.com/cve/CVE-2026-48124.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-48124 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:13:43.559Z
