Home / getcursor / cursor / CVE-2024-48919
CVE-2024-48919: is it exploited, and which versions of getcursor cursor are affected and fixed?
CVE-2024-48919 is an improper input validation vulnerability in getcursor cursor. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: cursor < 0.42 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-48919?
RCE via Prompt Injection Into Cursor's Terminal Cmd-K
Cursor is a code editor built for programming with AI. Prior to Sep 27, 2024, if a user generated a terminal command via Cursor's Terminal Cmd-K/Ctrl-K feature and if the user explicitly imported a malicious web page into the Terminal Cmd-K prompt, an attacker with control over the referenced web page could have a significant chance of influencing a language model to output arbitrary commands for execution in the user's terminal. This scenario would require the user explicitly opt-in to including the contents of a compromised webpage, and it would require that the attacker display prompt injection text in the the contents of the compromised webpage. A server-side patch to not stream back newlines or control characters was released on September 27, 2024, within two hours of the issue being reported. Additionally, Cursor 0.42 includes client-side mitigations to prevent any newline or control character from being streamed into the terminal directly. It also contains a new setting, `"cursor.terminal.usePreviewBox"`, which, if set to true, streams the response into a preview box whose contents then have to be manually accepted before being inserted into the terminal. This setting is useful if you're working in a shell environment where commands can be executed without pressing enter or any control character. The patch has been applied server-side, so no additional action is needed, even on older versions of Cursor. Separately, Cursor's maintainers also recommend, as best practice, to only include trusted pieces of context in prompts.
From the CVE record by GitHub_M, last updated October 23, 2024, 14:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| getcursor | cursor | < 0.42 |
As the CVE record by GitHub_M states it, last updated October 23, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-48919?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-48919 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, October 23, 2024)
- EPSS
- 0.51% probability of exploitation activity in the next 30 days, percentile 45.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/getcursor/cursor/security/advisories/GHSA-rmj9-23rg-gr67 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- October 9, 2024
- Published
- October 22, 2024, 20:58 UTC
- CVE record updated
- October 23, 2024, 14:49 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:59 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cursor?
- Jun 11, 2025CVE-2025-49150 getcursor cursor: information disclosure
- Apr 8, 2025CVE-2025-32018 getcursor cursor: path traversal (reading or writing files outside the intended folder)
- Sep 24, 2024CVE-2024-45599 getcursor cursor: insecure Inherited Permissions
Questions about CVE-2024-48919
Is CVE-2024-48919 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of getcursor cursor are affected by CVE-2024-48919?
cursor < 0.42, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-48919?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-48919?
Critical (9.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-48919?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.