{
  "id": "CVE-2026-26268",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-26268",
  "published_at": "2026-02-13T16:54:04.712Z",
  "title": "Cursor sandbox escape via Git hooks",
  "vendor": "cursor",
  "product": "cursor",
  "cvss": {
    "score": 9.9,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-18T21:04:58Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 186.2,
    "repo": "BOSSMANIWAY/blame-poisoning",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "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.",
  "cwe": "CWE-862",
  "cpes": [
    "cpe:2.3:a:anysphere:cursor:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1,
    "nvd": 9.9
  },
  "repos": [
    {
      "repo": "dhawaldesai/agentic-ioc-scanner",
      "url": "https://github.com/dhawaldesai/agentic-ioc-scanner",
      "created_at": "2026-05-05T14:57:30Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 100,
      "suspicious": true,
      "suspicion_reasons": [
        "executes decoded/obfuscated code in README.md",
        "executes decoded/obfuscated code in scanner/ais.sh",
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-10-05T06:14:16Z"
    },
    {
      "repo": "BOSSMANIWAY/blame-poisoning",
      "url": "https://github.com/BOSSMANIWAY/blame-poisoning",
      "created_at": "2026-08-18T21:04:58Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-06-06T12:48:14Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "cursor",
        "product": "cursor",
        "ranges": [
          "\u003c 2.5"
        ],
        "fixed_in": [
          "2.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cursor to 2.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/cursor/cursor/security/advisories/GHSA-8pcm-8jpx-hv8r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
