{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.3.27"
              },
              {
                "fixed": "0.8.41"
              },
              {
                "introduced": "0.8.41"
              },
              {
                "fixed": "0.8.64"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "6021fc56c82f1f4ea4672380bed4208aa7be1baf"
            },
            {
              "introduced": "5fa24733e9a1d11315506309b8edb0fdf2b94f04"
            },
            {
              "fixed": "5fa24733e9a1d11315506309b8edb0fdf2b94f04"
            },
            {
              "fixed": "9d2e6a89f58610d5f426ff26533a2bf312023790"
            },
            {
              "fixed": "9a34b5034d29f05d1f28fa61b04719ca6a741020"
            }
          ],
          "repo": "https://github.com/hmbown/codewhale",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7j5w-7r7x-9v27"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75913.json"
  },
  "details": "CodeWhale (codewhale / codewhale-tui) versions \u003e= 0.8.41 and \u003c 0.8.64 contain an argument injection vulnerability in the git_show tool. The model-supplied rev parameter is passed unvalidated into the git show argv without an --end-of-options sentinel, so a value beginning with --output= is interpreted as a git flag. Because the tool is registered as auto-approved and advertised as read-only, an attacker (via a malicious repository combined with prompt injection) can cause an unprompted arbitrary file write at the privilege of the invoking user, targeting sensitive files such as ~/.ssh/authorized_keys, ~/.bashrc, or ~/.gitconfig. Fixed in 0.8.64 by adding rev validation.",
  "id": "CVE-2026-75913",
  "modified": "2026-09-10T03:31:07.820786862Z",
  "published": "2026-08-18T15:22:01.505Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75913.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-75913"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/codewhale-before-argument-injection-via-git-show"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CodeWhale before 0.8.64 Argument Injection via git_show"
}