CVE-2026-26268 is a sandbox escape vulnerability in the Cursor AI-assisted code editor affecting versions prior to 2.5. A malicious agent, including one influenced through prompt injection, could write to insufficiently protected .git configuration within a repository context. This included the ability to modify Git hook configuration in a way that persisted outside the intended sandbox boundary. When a subsequent Git operation triggered the hook, the configured command could execute outside the sandbox. The issue arises from improper protection of repository Git settings that should not have been writable by the sandboxed agent, enabling transition from constrained agent actions to host-level command 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 valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
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.
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Git-hook sandbox escape vulnerability in Cursor that was separately disclosed and fixed in Cursor 2.5.
An earlier Cursor vulnerability involving a malicious Git hook in a repository that executed when the agent ran a Git command.
A previously disclosed Cursor sandbox escape vulnerability involving writes to .git configuration files and hooks, leading to out-of-sandbox remote code execution.
A high-severity arbitrary code execution vulnerability in Cursor prior to version 2.5 involving sandbox escape through .git configurations and malicious Git hooks, triggered via prompt injection and autonomous Git operations.
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.