{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.8.8"
              },
              {
                "fixed": "0.8.41"
              },
              {
                "introduced": "0.8.41"
              },
              {
                "fixed": "0.8.64"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "a4219a151b2dd044802d496f6a2c8cc3fae60dd8"
            },
            {
              "fixed": "5fa24733e9a1d11315506309b8edb0fdf2b94f04"
            },
            {
              "introduced": "5fa24733e9a1d11315506309b8edb0fdf2b94f04"
            },
            {
              "fixed": "9d2e6a89f58610d5f426ff26533a2bf312023790"
            }
          ],
          "repo": "https://github.com/hmbown/codewhale",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-62f5-cp2p-vq95"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75859.json"
  },
  "details": "CodeWhale versions before 0.8.64 fail to validate file paths in the project config instructions field, allowing attackers to read arbitrary files on the victim's system. A malicious .codewhale/config.toml file in a cloned repository can specify paths outside the workspace that are read and injected into the AI system prompt for exfiltration.",
  "id": "CVE-2026-75859",
  "modified": "2026-08-21T03:30:13.998228224Z",
  "published": "2026-08-18T15:21:57.978Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75859.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-62f5-cp2p-vq95"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-75859"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/codewhale-before-arbitrary-file-read-via-instructions"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "CodeWhale before 0.8.64 Arbitrary File Read via instructions"
}