CVE-2026-26268
Last modified
CVE-2026-26268 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. Cursor is a code editor built for programming with AI. Sandbox escape via writing .git configuration was possible in versions prior to 2.5. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
Cursor is a code editor built for programming with AI. Sandbox escape via writing .git configuration was possible in versions prior to 2.5. A malicious agent (ie prompt injection) could write to improperly protected .git settings, including git hooks, which may cause out-of-sandbox RCE next time they are triggered. No user interaction was required as Git executes these commands automatically. Fixed in version 2.5.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anysphere | Cursor | < 2.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-26268?
How severe is CVE-2026-26268?
How do I fix CVE-2026-26268?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-2626The divi-booster WordPress plugin before 5.0.2 does not have…8.1
- CVE-2026-26263GLPI is a free asset and IT management software package. Fro…9.8
- CVE-2026-26264BACnet Stack is a BACnet open source protocol stack C librar…8.1
- CVE-2026-26265Discourse is an open source discussion platform. Prior to ve…7.5
- CVE-2026-26266AliasVault is a privacy-first password manager with built-in…6.1
- CVE-2026-26267soroban-sdk is a Rust SDK for Soroban contracts. Prior to ve…7.5
- CVE-2026-26269Vim is an open source, command line text editor. Prior to 9.…7.5
- CVE-2026-2627A security flaw has been discovered in Softland FBackup up t…7.8
- CVE-2026-26270InvoicePlane is a self-hosted open source application for ma…5.4
- CVE-2026-26271FreeRDP is a free implementation of the Remote Desktop Proto…5.3
- CVE-2026-26272HomeBox is a home inventory and organization system. Prior t…5.4
- CVE-2026-26273Known is a social publishing platform. Prior to 1.6.3, a Cri…9.8
Are you affected by CVE-2026-26268?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
