Skip to main content
Mallory
CriticalVulnerability

CVE-2026-50548: DuneSlide Working Directory Sandbox Escape in Cursor

Published Jun 25, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.3Critical · v4
EPSS1.0%62nd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Anysphere
IdentifiersCVE-2026-50548CWE-22 · Improper Limitation of a Pathname…

CVE-2026-50548 is a critical path traversal and sandbox-escape vulnerability in Cursor versions prior to 3.0. Cursor’s agent terminal-command sandbox grants write access to the command working directory. An agent-controlled working_directory parameter could be set to a location outside the intended workspace, causing that external location to be included in the sandbox write policy. This enables arbitrary file writes outside the workspace with the privileges of the logged-in user. An attacker can use the out-of-bounds write to replace a sandbox component or modify other sensitive files, causing subsequent agent commands to execute outside the sandbox.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits an attacker to escape Cursor’s intended workspace and terminal sandbox, write arbitrary files as the current user, and obtain unsandboxed code execution. This can result in full compromise of the developer workstation, including modification of user configuration or persistence mechanisms and access to source code, credentials, environment variables, and resources reachable through authenticated development or SaaS sessions.

Mitigation

If you can’t patch tonight, do this now.

Until all installations are upgraded, do not allow Cursor agents to process untrusted prompts or externally sourced content, including content retrieved through agent-connected services and web search. Restrict or disable autonomous terminal-command execution where feasible, limit agent filesystem permissions to dedicated non-sensitive workspaces, and monitor for unexpected writes outside project directories or modifications affecting Cursor sandboxing and startup-related components.

Remediation

Patch, then assume compromise.

Upgrade Cursor to version 3.0 or later. Version 3.0 corrects handling of the working_directory parameter by enforcing access controls that prevent agent-selected working directories from expanding writable sandbox scope beyond the authorized workspace.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AnysphereCursorapplication
FAQ

Frequently asked questions

Is CVE-2026-50548 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-50548 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-50548?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-50548.
Is there a patch for CVE-2026-50548?
Upgrade Cursor to version 3.0 or later. Version 3.0 corrects handling of the working_directory parameter by enforcing access controls that prevent agent-selected working directories from expanding writable sandbox scope beyond the authorized workspace.
What products are affected by CVE-2026-50548?
Anysphere Cursor.
How severe is CVE-2026-50548?
CVE-2026-50548 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 1.0% (62nd percentile) as of Sep 25, 2026.
Activity feed

Recent activity

31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+7 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity20Community discussion across Reddit, Mastodon, and other social sources.