CVE-2026-50548 is a critical sandbox escape vulnerability in Cursor Desktop affecting versions prior to 3.0. Cursor executes agent terminal commands inside a sandbox that permits writes to the command's working directory. The flaw arises from improper handling of the agent-controlled working_directory parameter for terminal command execution, allowing the sandbox policy to be constructed with writable paths outside the intended workspace boundary. By setting working_directory to a sensitive location outside the project scope, a malicious agent can cause Cursor to perform arbitrary file writes under the privileges of the logged-in user. This out-of-workspace write primitive can be used to tamper with security-relevant files, including the sandbox helper, which in turn enables subsequent commands to execute outside the sandbox and results in operating-system-level remote code execution.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Cursor vulnerability, part of the DuneSlide disclosures, that allowed sandbox escape and OS-level remote code execution via prompt injection.
Mentioned only as related reading; no substantive discussion in the content.
A critical remote code execution vulnerability in the Cursor AI code editor that can be triggered via prompt injection to achieve arbitrary file write, escape the IDE sandbox, and compromise the victim device and linked SaaS workspaces.
A critical sandbox escape vulnerability in Cursor IDE caused by improper validation of the working_directory parameter, enabling arbitrary file writes outside the workspace and leading to non-sandboxed remote code execution.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.