Skip to content
Heist/ feed
Back to feed
High

CodeWhale before 0.8.64 Environment Variable Leak via js_execution

Type: advisorySources: OSV

CodeWhale versions before 0.8.64 contain an environment variable exposure vulnerability in the js_execution tool that fails to scrub parent process environment variables before spawning Node.js. Attackers can craft malicious JavaScript code executed by the tool to read process.env and leak API keys, cloud credentials, and authentication tokens back to the model context.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-75915
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:29 UTC · Revision 1

Source evidence

CodeWhale before 0.8.64 Environment Variable Leak via js_execution

core-osv · Original source

Published 18 Aug 2026, 15:22 UTC

CodeWhale versions before 0.8.64 contain an environment variable exposure vulnerability in the js_execution tool that fails to scrub parent process environment variables before spawning Node.js. Attackers can craft malicious JavaScript code executed by the tool to read process.env and leak API keys, cloud credentials, and authentication tokens back to the model context.

osv:CVE-2026-75915
Complete source record
{
  "id": "f9af316cfd55bd8db8ac2220335c08469a88ac86681916074bc6e111861fd052",
  "url": "https://osv.dev/vulnerability/CVE-2026-75915",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CodeWhale before 0.8.64 Environment Variable Leak via js_execution",
    "summary": "CodeWhale versions before 0.8.64 contain an environment variable exposure vulnerability in the js_execution tool that fails to scrub parent process environment variables before spawning Node.js. Attackers can craft malicious JavaScript code executed by the tool to read process.env and leak API keys, cloud credentials, and authentication tokens back to the model context.",
    "evidence": "osv:CVE-2026-75915",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-75915",
      "aliases": [
        "CVE-2026-75915",
        "GHSA-h539-c7r8-3xq4"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/codewhale-hq/Codewhale",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ad70655bbb049ee75c167b9e336651a3aa006bf3"
                },
                {
                  "fixed": "5fa24733e9a1d11315506309b8edb0fdf2b94f04"
                },
                {
                  "introduced": "5fa24733e9a1d11315506309b8edb0fdf2b94f04"
                },
                {
                  "fixed": "9d2e6a89f58610d5f426ff26533a2bf312023790"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.8.32"
                      },
                      {
                        "fixed": "0.8.41"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.8.41"
                      },
                      {
                        "fixed": "0.8.64"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.40",
            "v0.8.39",
            "v0.8.38",
            "v0.8.37",
            "v0.8.36",
            "v0.8.35",
            "v0.8.33",
            "v0.8.32"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75915.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.767725849Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75915.json",
        "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-h539-c7r8-3xq4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-75915",
        "https://www.vulncheck.com/advisories/codewhale-before-environment-variable-leak-via-js-execution",
        "https://github.com/Hmbown/CodeWhale/commit/26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75915.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-75915",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521799,
  "published_at": "2026-08-18T15:22:02.935+00:00"
}