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

Published Jun 15, 2026
·
Updated

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 Software

1 affected component
Cursor Cursor Desktop<3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Cursor Desktop to a version that resolves this vulnerability.

    Fixed in 3.0.0

Event History

Jun 15, 2026
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-48124?

CVE-2026-48124 has a high severity rating of 8.5.

2

How do I fix CVE-2026-48124?

To fix CVE-2026-48124, update to Cursor Desktop version 3.0.0 or later.

3

What does CVE-2026-48124 exploit?

CVE-2026-48124 exploits a sandbox escape vulnerability via unapproved Claude hook commands in Cursor Desktop.

4

Which versions of Cursor Desktop are affected by CVE-2026-48124?

CVE-2026-48124 affects Cursor Desktop versions prior to 3.0.0.

5

What type of vulnerability is CVE-2026-48124 classified as?

CVE-2026-48124 is classified as a code injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203