{
  "id": "CVE-2026-75913",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-75913",
  "published_at": "2026-08-18T15:22:01.505Z",
  "title": "CodeWhale before 0.8.64 Argument Injection via git_show",
  "vendor": "Hmbown",
  "product": "CodeWhale",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "CodeWhale versions \u003e= 0.3.27 and \u003c 0.8.64 (published as deepseek-tui \u003e= 0.3.27 and \u003c 0.8.41 on npm and 0.3.27 through 0.8.41 on crates.io, and as codewhale / codewhale-tui \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 codewhale / codewhale-tui 0.8.64 by adding rev validation; the deprecated deepseek-tui crate has no fixed release.",
  "cwe": "CWE-73",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Hmbown",
        "product": "CodeWhale",
        "ranges": [
          "\u003e= 0.3.27, \u003c= 0.8.41"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Hmbown",
        "product": "CodeWhale",
        "ranges": [
          "\u003e= 0.3.27, \u003c 0.8.41"
        ],
        "fixed_in": [
          "0.8.41"
        ]
      },
      {
        "vendor": "Hmbown",
        "product": "CodeWhale",
        "ranges": [
          "\u003e= 0.8.41, \u003c 0.8.64"
        ],
        "fixed_in": [
          "0.8.64"
        ]
      },
      {
        "vendor": "Hmbown",
        "product": "CodeWhale",
        "ranges": [
          "\u003e= 0.8.41, \u003c 0.8.64"
        ],
        "fixed_in": [
          "0.8.64"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CodeWhale to 0.8.41 or later.",
      "Upgrade CodeWhale to 0.8.64 or later.",
      "Upgrade CodeWhale to 0.8.64 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-7j5w-7r7x-9v27"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Hmbown/CodeWhale/commit/9a34b5034d29f05d1f28fa61b04719ca6a741020"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
