# CVE-2026-50548 — cursor

> As of 2026-06-25, CVE-2026-50548 is a Critical-severity (band derived from the CVSS v4.0 score, not stated by the CNA) vulnerability in cursor, CVSS v4.0 9.3, EPSS 1.0% (62.1th percentile). Threadlinqs Intelligence links 3 tracked threat campaigns to CVE-2026-50548, most recently “Unpatched Cursor IDE 0-Day: Malicious git.exe in Repository Root Enables Arbitrary Code Execution on Windows (CWE-427)”.

**Last updated:** 2026-06-25

## What is CVE-2026-50548?

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.

The record classifies CVE-2026-50548 under weakness class [CWE-22](https://intel.threadlinqs.com/cwe/CWE-22). 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 125 days ago.

## Severity and exploitation probability

- **CVSS v4.0 base score:** 9.3 — Critical (derived from score) (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`)
- **EPSS (FIRST):** 1.0% probability of exploitation in the next 30 days, higher than 62.1% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 7.1/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-06-25

## Is CVE-2026-50548 being exploited?

It currently carries a trending score of 29 in the Threadlinqs vulnerability feed.

## Affected products and versions

- **cursor**: cursor

## How to fix CVE-2026-50548

No vendor patch reference has been recorded for CVE-2026-50548 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-50548

3 tracked threats in the Threadlinqs corpus reference CVE-2026-50548, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Unpatched Cursor IDE 0-Day: Malicious git.exe in Repository Root Enables Arbitrary Code Execution on Windows (CWE-427)](https://intel.threadlinqs.com/threat/TL-2026-1377) — HIGH · 2026-07-15
- [Cursor IDE "DuneSlide" Sandbox Escape RCE via Zero-Click Prompt Injection (CVE-2026-50548, CVE-2026-50549)](https://intel.threadlinqs.com/threat/TL-2026-1047) — CRITICAL · 2026-07-01
- [Critical Cursor AI Code Editor Flaws (CVE-2026-50548, CVE-2026-50549) — "DuneSlide" Zero-Click Prompt Injection to Sandbox Escape and RCE](https://intel.threadlinqs.com/threat/TL-2026-1049) — CRITICAL · 2026-07-01

## Sources

Enriched from CVE.org, FIRST EPSS. Last verified by Threadlinqs on 2026-10-10.

**Vendor advisory and patch**

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

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-50548
Full detection coverage and IOCs for threats exploiting CVE-2026-50548 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
