CVE-2026-50548

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 0.6%, top 54% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
9.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 1%CVSS: 9.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default, and the sandbox grants write access to the command's working directory. A flaw was identified in how the agent could modify the working_directory parameter, which could cause the sandbox to include writable paths outside the intended workspace. A malicious agent could set working_directory to a sensitive location and write arbitrary files outside the workspace under the user's privileges. This enables non-sandboxed Remote Code Execution — for example by overwriting the cursorsandbox helper so later commands run unsandboxed — with no user interaction beyond a benign prompt. This vulnerability is fixed in 3.0.

CVSS v3
9.8
EG Score
9.8(medium)
EPSS
46.4%
KEV
Not listed

Published

June 25, 2026

Last Modified

June 26, 2026

Advisory Details (1)

Auto-updated Jul 12, 2026
Patch available. Sources: github.
github Patch Available

Cursor Desktop sandbox escape via agent-controlled working directory · Advisory · cursor/cursor · GitHub

https://github.com/cursor/cursor/security/advisories/GHSA-3p48-7v9f-v5cw

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 50× in last 7d / 140× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 140 total refreshes for this CVE.

  1. 2026-07-15 23:11 UTCEG score recompute
  2. 2026-07-15 18:48 UTCEG score recompute
  3. 2026-07-15 16:57 UTCEPSS rescore
  4. 2026-07-15 16:57 UTCEPSS rescore
  5. 2026-07-15 14:11 UTCEG score recompute
  6. 2026-07-15 09:48 UTCEG score recompute
  7. 2026-07-15 05:20 UTCEG score recompute
  8. 2026-07-15 02:00 UTCEPSS rescore
  9. 2026-07-15 02:00 UTCEPSS rescore
  10. 2026-07-15 00:24 UTCEG score recompute
  11. 2026-07-14 20:00 UTCEG score recompute
  12. 2026-07-14 15:38 UTCEG score recompute
  13. 2026-07-14 11:15 UTCEG score recompute
  14. 2026-07-14 06:52 UTCEG score recompute
  15. 2026-07-14 02:27 UTCEG score recompute
  16. 2026-07-13 22:31 UTCEPSS rescore
  17. 2026-07-13 22:05 UTCEG score recompute
  18. 2026-07-13 17:42 UTCEG score recompute
  19. 2026-07-13 13:20 UTCEG score recompute
  20. 2026-07-13 08:57 UTCEG score recompute
  21. 2026-07-13 06:13 UTCEPSS rescore
  22. 2026-07-13 06:13 UTCEPSS rescore
  23. 2026-07-13 04:34 UTCEG score recompute
  24. 2026-07-13 00:12 UTCEG score recompute
  25. 2026-07-12 19:50 UTCEG score recompute
Show 75 more
  1. 2026-07-12 15:28 UTCEG score recompute
  2. 2026-07-12 10:58 UTCEG score recompute
  3. 2026-07-12 06:35 UTCEG score recompute
  4. 2026-07-12 05:46 UTCEPSS rescore
  5. 2026-07-12 02:13 UTCEG score recompute
  6. 2026-07-11 21:50 UTCEG score recompute
  7. 2026-07-11 17:28 UTCEG score recompute
  8. 2026-07-11 13:06 UTCEG score recompute
  9. 2026-07-11 08:42 UTCEG score recompute
  10. 2026-07-11 08:27 UTCEPSS rescore
  11. 2026-07-11 08:27 UTCEPSS rescore
  12. 2026-07-11 04:19 UTCEG score recompute
  13. 2026-07-10 23:56 UTCEG score recompute
  14. 2026-07-10 19:33 UTCEG score recompute
  15. 2026-07-10 15:11 UTCEG score recompute
  16. 2026-07-10 10:46 UTCEG score recompute
  17. 2026-07-10 06:12 UTCEG score recompute
  18. 2026-07-10 01:44 UTCEG score recompute
  19. 2026-07-09 21:22 UTCEG score recompute
  20. 2026-07-09 19:10 UTCEPSS rescore
  21. 2026-07-09 19:10 UTCEPSS rescore
  22. 2026-07-09 16:59 UTCEG score recompute
  23. 2026-07-09 12:37 UTCEG score recompute
  24. 2026-07-09 08:13 UTCEG score recompute
  25. 2026-07-09 03:50 UTCEG score recompute
  26. 2026-07-08 23:28 UTCEG score recompute
  27. 2026-07-08 19:06 UTCEG score recompute
  28. 2026-07-08 15:16 UTCEPSS rescore
  29. 2026-07-08 15:16 UTCEPSS rescore
  30. 2026-07-08 14:44 UTCEG score recompute
  31. 2026-07-08 10:17 UTCEG score recompute
  32. 2026-07-08 05:55 UTCEG score recompute
  33. 2026-07-08 01:24 UTCEG score recompute
  34. 2026-07-07 21:02 UTCEG score recompute
  35. 2026-07-07 16:39 UTCEG score recompute
  36. 2026-07-07 13:46 UTCEPSS rescore
  37. 2026-07-07 13:46 UTCEPSS rescore
  38. 2026-07-07 10:57 UTCEG score recompute
  39. 2026-07-07 06:00 UTCEG score recompute
  40. 2026-07-07 01:35 UTCEG score recompute
  41. 2026-07-06 21:10 UTCEG score recompute
  42. 2026-07-06 16:47 UTCEG score recompute
  43. 2026-07-06 16:27 UTCEPSS rescore
  44. 2026-07-06 12:24 UTCEG score recompute
  45. 2026-07-06 08:00 UTCEG score recompute
  46. 2026-07-06 03:38 UTCEG score recompute
  47. 2026-07-06 02:23 UTCEPSS rescore
  48. 2026-07-05 23:16 UTCEG score recompute
  49. 2026-07-05 18:54 UTCEG score recompute
  50. 2026-07-05 14:32 UTCEG score recompute
  51. 2026-07-05 10:09 UTCEG score recompute
  52. 2026-07-05 05:39 UTCEG score recompute
  53. 2026-07-05 02:30 UTCEPSS rescore
  54. 2026-07-05 01:15 UTCEG score recompute
  55. 2026-07-04 20:36 UTCEG score recompute
  56. 2026-07-04 16:13 UTCEG score recompute
  57. 2026-07-04 11:49 UTCEG score recompute
  58. 2026-07-04 07:27 UTCEG score recompute
  59. 2026-07-04 06:31 UTCEPSS rescore
  60. 2026-07-04 02:58 UTCEG score recompute
  61. 2026-07-03 22:34 UTCEG score recompute
  62. 2026-07-03 18:07 UTCEG score recompute
  63. 2026-07-03 13:42 UTCEG score recompute
  64. 2026-07-03 09:20 UTCEG score recompute
  65. 2026-07-03 04:58 UTCEG score recompute
  66. 2026-07-03 00:35 UTCEG score recompute
  67. 2026-07-02 20:13 UTCEG score recompute
  68. 2026-07-02 15:49 UTCEG score recompute
  69. 2026-07-02 11:27 UTCEG score recompute
  70. 2026-07-02 07:05 UTCEG score recompute
  71. 2026-07-02 02:42 UTCEG score recompute
  72. 2026-07-01 22:20 UTCEG score recompute
  73. 2026-07-01 17:55 UTCEG score recompute
  74. 2026-07-01 15:07 UTCEPSS rescore
  75. 2026-07-01 13:32 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-50548?
CVE-2026-50548 is a critical vulnerability published on June 25, 2026. Cursor is a code editor built for programming with AI. Prior to 3.0, Cursor runs agent terminal commands in a sandbox by default, and the sandbox grants write access to the command's working directory. A flaw was identified in how the agent could modify the workingdirectory parameter, which could…
When was CVE-2026-50548 disclosed?
CVE-2026-50548 was first published in the National Vulnerability Database on June 25, 2026, with the most recent update on June 26, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-50548 actively exploited?
CVE-2026-50548 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 46.4% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-50548?
CVE-2026-50548 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2026-50548?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-50548, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-50548

Explore →

Is Your Infrastructure Affected by CVE-2026-50548?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.