GHSA-h539-c7r8-3xq4: CodeWhale: js_execution leaks parent environment to model context via missing env scrub
Summary
CodeWhale's js_execution tool fails to scrub sensitive environment variables (like API keys and cloud credentials) before running model-provided JavaScript code, allowing these secrets to leak back to the AI model through the tool's output. Other tools in the same codebase use an environment allowlist (child_env helper) to prevent this, but js_execution was added four days after that security fix and never implemented it.
Solution / Mitigation
Users should upgrade to version 0.8.64 or later. The fix is contained in commit 26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e, which adds the missing child_env scrubber to js_execution.
Vulnerability Details
EPSS: 0.5%
Yes
September 4, 2026
Classification
Affected Vendors
Affected Packages
Related Issues
GHSA-382c-vx95-w3p5: Gittensory: Missing contributor-scoped access control on profile endpoint and MCP tool leaks miner financial data
CVE-2025-45150: Insecure permissions in LangChain-ChatGLM-Webui commit ef829 allows attackers to arbitrarily view and download sensitive
Original source: https://github.com/advisories/GHSA-h539-c7r8-3xq4
First tracked: September 4, 2026 at 08:01 PM
Classified by LLM (prompt v3) · confidence: 92%