{"id":"CVE-2026-75858","published":"2026-08-18T15:21:57Z","modified":"2026-08-18T17:59:11Z","title":"CodeWhale rlm_eval before 0.8.64 Remote Code Execution","vendor":"Hmbown","product":"CodeWhale","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00364,"percentile":0.2248,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f","tags":["vendor-advisory"]},{"url":"https://github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/codewhale-rlm-eval-before-remote-code-execution","tags":["third-party-advisory"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.5},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"hmbown","affectedVersions":[{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.8.33, < 0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.8.33, < 0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.8.41, < 0.8.64"]},{"vendor":"Hmbown","product":"CodeWhale","versions":[">= 0.8.41, < 0.8.64"]}],"fixedVersions":[{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.41"]},{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.64"]},{"vendor":"Hmbown","product":"CodeWhale","versions":["0.8.64"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-18T17:58:18.257877Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deepseek-tui","vulnerableRanges":[">=0.8.33, <=0.8.41"],"patched":[],"from":["GHSA-wrj3-vj8c-784f"],"provenance":"source"},{"ecosystem":"npm","package":"deepseek-tui","vulnerableRanges":[">=0.8.33, <0.8.41"],"patched":["0.8.41"],"from":["GHSA-wrj3-vj8c-784f"],"provenance":"source"},{"ecosystem":"crates.io","package":"codewhale-tui","vulnerableRanges":[">=0.8.41, <0.8.64"],"patched":["0.8.64"],"from":["GHSA-wrj3-vj8c-784f"],"provenance":"source"},{"ecosystem":"npm","package":"codewhale","vulnerableRanges":[">=0.8.41, <0.8.64"],"patched":["0.8.64"],"from":["GHSA-wrj3-vj8c-784f"],"provenance":"source"}],"summary":{"text":"CodeWhale versions 0.8.41 up to but not including 0.8.64 contain a flaw in the rlm_eval tool, where model-supplied Python code runs in a python3 interpreter without any approval prompt, bypassing the user's configured approval policy. An attacker who can get the agent to read untrusted content, such as a web page, fetched URL, repository file, or MCP tool result, can use prompt injection to make the agent execute arbitrary code at the user's privilege level, which requires the user to direct the agent to process that content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:27Z"},"euvd":{"id":"EUVD-2026-60965","exploited":false,"provenance":"source"}}