CVE-2026-50548 is a critical sandbox escape vulnerability in Cursor Desktop affecting versions prior to 3.0. Cursor runs agent terminal commands in a sandbox by default, and that sandbox grants write access to the command's working directory. The flaw is in how the agent can control the working_directory parameter for terminal command execution: by setting working_directory to a sensitive path outside the intended workspace, the resulting sandbox policy can incorrectly include writable locations beyond the project boundary. This allows a malicious agent, including one influenced by prompt injection, to write arbitrary files outside the workspace with the privileges of the logged-in user. The issue can be chained into non-sandboxed remote code execution, for example by overwriting the cursorsandbox helper so subsequent commands execute outside the sandbox. The vulnerability is fixed in Cursor 3.0.
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.
29 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
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.
A critical Cursor AI code editor vulnerability involving sandbox boundary abuse that can enable zero-click prompt injection and OS-level remote code execution outside the IDE sandbox.
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.