CVE Explorer
CVE-2026-48124
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-829","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"cursor","vendor":"cursor","versions":[{"status":"affected","version":"< 3.0.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.5,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-829","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/problemTypes/1/descriptions/0
Source references
1 source assertion{"name":"https://github.com/cursor/cursor/security/advisories/GHSA-pc9j-3qc2-95wv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cursor/cursor/security/advisories/GHSA-pc9j-3qc2-95wv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0279b5abdc18588860bfaeded70c6f4ba04c46f10dbd2f1bf33552a479e1f185 · sha256:da2a0285ba0df4dd… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.