Vulnerability

CVE-2026-48124

highCVSS 4.0 8.5Published 15 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /cursor/cursor/security/advisories/GHSA-pc9j-3qc2-95wv

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning