SecurityContext

CVE-2026-75858: CodeWhale - Remote Code Execution

  • Cve: CVE-2026-75858
  • Name: CodeWhale - Remote Code Execution
  • Description: CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code execution vulnerability in the rlm_eval tool. The tool's approval_requirement() returns ApprovalRequirement::Auto, which the engine treats as 'never prompt,' causing arbitrary model-supplied Python code to run in a python3 interpreter without consulting the user's configured --approval-policy and without any approval prompt or audit step. An attacker can induce the agent to execute arbitrary code via prompt injection in untrusted content the agent reads (a web page, fetched URL, repository file, or MCP tool result); the companion rlm_open tool can stage such content. Code runs on the user's machine at the user's privilege level. Fixed in 0.8.64.
  • Impact: Attackers can execute arbitrary code on the user's machine with the user's privileges, potentially compromising the system.
  • Remediation: Update to version 0.8.64 or later.
  • Vulnerability type: remote_code_execution
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00364
  • Epss percentile: 0.30904
  • Assignee: [email protected]
  • Published at: 2026-08-18T16:18:21Z
  • Age in days: 98
  • Modified at: 2026-10-22T22:10:00Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-75858
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381
https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f
https://www.vulncheck.com/advisories/codewhale-rlm-eval-before-remote-code-execution

Projects

RepositoryLink kindsIndexedUrl
hmbown/codewhalecommit, package, security_advisoryyes/v1/repositories/hmbown/codewhale

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts