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.
CVE-2026-50548
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).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- 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, 2026Cursor Desktop sandbox escape via agent-controlled working directory · Advisory · cursor/cursor · GitHub
https://github.com/cursor/cursor/security/advisories/GHSA-3p48-7v9f-v5cwWeakness 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.
- 2026-07-15 23:11 UTCEG score recompute
- 2026-07-15 18:48 UTCEG score recompute
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 14:11 UTCEG score recompute
- 2026-07-15 09:48 UTCEG score recompute
- 2026-07-15 05:20 UTCEG score recompute
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 00:24 UTCEG score recompute
- 2026-07-14 20:00 UTCEG score recompute
- 2026-07-14 15:38 UTCEG score recompute
- 2026-07-14 11:15 UTCEG score recompute
- 2026-07-14 06:52 UTCEG score recompute
- 2026-07-14 02:27 UTCEG score recompute
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 22:05 UTCEG score recompute
- 2026-07-13 17:42 UTCEG score recompute
- 2026-07-13 13:20 UTCEG score recompute
- 2026-07-13 08:57 UTCEG score recompute
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 04:34 UTCEG score recompute
- 2026-07-13 00:12 UTCEG score recompute
- 2026-07-12 19:50 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-12 15:28 UTCEG score recompute
- 2026-07-12 10:58 UTCEG score recompute
- 2026-07-12 06:35 UTCEG score recompute
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 02:13 UTCEG score recompute
- 2026-07-11 21:50 UTCEG score recompute
- 2026-07-11 17:28 UTCEG score recompute
- 2026-07-11 13:06 UTCEG score recompute
- 2026-07-11 08:42 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 04:19 UTCEG score recompute
- 2026-07-10 23:56 UTCEG score recompute
- 2026-07-10 19:33 UTCEG score recompute
- 2026-07-10 15:11 UTCEG score recompute
- 2026-07-10 10:46 UTCEG score recompute
- 2026-07-10 06:12 UTCEG score recompute
- 2026-07-10 01:44 UTCEG score recompute
- 2026-07-09 21:22 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 16:59 UTCEG score recompute
- 2026-07-09 12:37 UTCEG score recompute
- 2026-07-09 08:13 UTCEG score recompute
- 2026-07-09 03:50 UTCEG score recompute
- 2026-07-08 23:28 UTCEG score recompute
- 2026-07-08 19:06 UTCEG score recompute
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 14:44 UTCEG score recompute
- 2026-07-08 10:17 UTCEG score recompute
- 2026-07-08 05:55 UTCEG score recompute
- 2026-07-08 01:24 UTCEG score recompute
- 2026-07-07 21:02 UTCEG score recompute
- 2026-07-07 16:39 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 10:57 UTCEG score recompute
- 2026-07-07 06:00 UTCEG score recompute
- 2026-07-07 01:35 UTCEG score recompute
- 2026-07-06 21:10 UTCEG score recompute
- 2026-07-06 16:47 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 12:24 UTCEG score recompute
- 2026-07-06 08:00 UTCEG score recompute
- 2026-07-06 03:38 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 23:16 UTCEG score recompute
- 2026-07-05 18:54 UTCEG score recompute
- 2026-07-05 14:32 UTCEG score recompute
- 2026-07-05 10:09 UTCEG score recompute
- 2026-07-05 05:39 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 01:15 UTCEG score recompute
- 2026-07-04 20:36 UTCEG score recompute
- 2026-07-04 16:13 UTCEG score recompute
- 2026-07-04 11:49 UTCEG score recompute
- 2026-07-04 07:27 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:58 UTCEG score recompute
- 2026-07-03 22:34 UTCEG score recompute
- 2026-07-03 18:07 UTCEG score recompute
- 2026-07-03 13:42 UTCEG score recompute
- 2026-07-03 09:20 UTCEG score recompute
- 2026-07-03 04:58 UTCEG score recompute
- 2026-07-03 00:35 UTCEG score recompute
- 2026-07-02 20:13 UTCEG score recompute
- 2026-07-02 15:49 UTCEG score recompute
- 2026-07-02 11:27 UTCEG score recompute
- 2026-07-02 07:05 UTCEG score recompute
- 2026-07-02 02:42 UTCEG score recompute
- 2026-07-01 22:20 UTCEG score recompute
- 2026-07-01 17:55 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 13:32 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-50548?
When was CVE-2026-50548 disclosed?
Is CVE-2026-50548 actively exploited?
What is the CVSS score of CVE-2026-50548?
How do I remediate CVE-2026-50548?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-50548
Is Your Infrastructure Affected by CVE-2026-50548?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.