# CVE-2026-26268 — cursor

> As of 2026-07-11, CVE-2026-26268 is a HIGH-severity vulnerability in cursor, CVSS v3.1 8.1, EPSS 0.4% (35.4th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-26268, most recently “Critical Gemini CLI Vulnerability (CVE-2026-12537) Enables Remote Code Execution via Malicious .env Workspace Trust Bypass”.

**Last updated:** 2026-07-11

## What is CVE-2026-26268?

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.

The record classifies CVE-2026-26268 under weakness class [CWE-862](https://intel.threadlinqs.com/cwe/CWE-862). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs high-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 279 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 8.1 — HIGH (`CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`)
- **EPSS (FIRST):** 0.4% probability of exploitation in the next 30 days, higher than 35.4% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 7.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-02-13

## Is CVE-2026-26268 being exploited?

Weaponised exploit code for CVE-2026-26268 is publicly available. 1 public proof-of-concept repository is tracked for this identifier. It currently carries a trending score of 22 in the Threadlinqs vulnerability feed.

- [dhawaldesai/agentic-ioc-scanner](https://github.com/dhawaldesai/agentic-ioc-scanner) (github)

## Affected products and versions

- **cursor**: cursor

## How to fix CVE-2026-26268

Vendor advisory: [https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r](https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r). Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2026-26268

1 tracked threat in the Threadlinqs corpus references CVE-2026-26268, either in the campaign’s CVE list or as an indicator on the campaign record.

- [Critical Gemini CLI Vulnerability (CVE-2026-12537) Enables Remote Code Execution via Malicious .env Workspace Trust Bypass](https://intel.threadlinqs.com/threat/TL-2026-1206) — CRITICAL · 2026-07-11

## Sources

Enriched from CVE.org, NVD, FIRST EPSS, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com](https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-26268
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
