{
  "schema_version": "1.6.0",
  "id": "ACVE-2026-0006",
  "aliases": [
    "CVE-2026-26268"
  ],
  "published": "2026-09-19T00:00:00Z",
  "modified": "2026-09-19T00:00:00Z",
  "summary": "Cursor can execute a repository git hook",
  "details": "## What the vulnerability is\n\nCursor can execute a Git hook supplied by a repository when the harness processes repository content in the affected release range. A Git hook is executable repository metadata, so running it can cross the boundary between inspecting a project and executing code from that project. The fixed boundary in this record is `2.5`, but it requires confirmation.\n\n## Which configuration is exposed\n\nThe matcher exposes Cursor when `harness.id` is `cursor` and `harness.version` is below `2.5`. It does not require a particular hook name, repository path, Git command, or permission mode. The rule reports the harness version because the lockfile does not need to enumerate every Git hook; a match means the versioned harness is in the exposure range, not that a hook has run.\n\n## How ACVE detects it\n\nACVE reads `harness.id` and `harness.version`. It cannot list repository hooks, determine which hook Git would select, or observe execution. The version boundary is treated as `2.5` (unverified — see Grounding needed), so the finding should be checked against the referenced CVE before relying on the comparison.\n\n## Fix\n\n1. Upgrade Cursor to `2.5` or later after confirming the fixed release.\n2. Inspect repository hooks before opening or executing project automation, and disable or remove hooks that are not required.\n\n## Grounding needed\n\n`acve advisory ground` must confirm the affected Cursor range and whether `2.5` is the fixed release for `CVE-2026-26268`.\n\nHook inspection is a review step, not a substitute for installing the confirmed fixed Cursor release.\n\n## References\n\nSee `references` for primary sources.",
  "affected": [
    {
      "package": {
        "ecosystem": "AgentHarness",
        "name": "cursor"
      },
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.5"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-26268"
    },
    {
      "type": "REPORT",
      "url": "https://example.com/research/acve"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pickbitsai/acve/issues?q=CVE-2026-26268"
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "8"
    }
  ],
  "database_specific": {
    "severity": "HIGH",
    "acve": {
      "specVersion": 1,
      "status": "candidate",
      "vulnClasses": [
        "hook-injection"
      ],
      "cwe": [
        "CWE-829"
      ],
      "taxonomy": {
        "owasp_asi": [
          "ASI05 Improper Output Handling"
        ],
        "atlas": [
          "AML.T0051"
        ]
      },
      "matcher": {
        "all": [
          {
            "field": "harness.id",
            "op": "eq",
            "value": "cursor"
          },
          {
            "field": "harness.version",
            "op": "semverRange",
            "value": "<2.5"
          }
        ]
      },
      "fix": {
        "summary": "Upgrade Cursor to the confirmed fixed release and inspect repository hooks.",
        "actions": [
          {
            "type": "upgrade",
            "target": "harness:cursor",
            "to": "2.5",
            "why": "Use the fixed release."
          }
        ]
      },
      "exposure": "repo-controlled",
      "exploitation": {
        "vector": "malicious project or server configuration",
        "userInteraction": "required",
        "kev": false
      },
      "grounding": {
        "osv": {
          "checkedAt": "2026-09-20T02:43:28Z",
          "found": false,
          "aliasesConfirmed": [],
          "packagesConfirmed": [],
          "fixedVersionsConfirmed": [],
          "cvss": []
        },
        "nvd": {
          "checkedAt": "2026-09-20T02:43:28Z",
          "found": false,
          "cvss": null,
          "published": null
        },
        "kev": {
          "checkedAt": "2026-09-20T02:43:28Z",
          "listed": false
        },
        "registry": {
          "checkedAt": "2026-09-20T02:43:28Z",
          "confirmed": [],
          "missing": []
        }
      }
    }
  }
}
