# CVE-2026-75858: CodeWhale rlm_eval before 0.8.64 Remote Code Execution

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 22% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-18T15:21:57.245Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-wrj3-vj8c-784f
- Weaknesses: CWE-94, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Hmbown CodeWhale: from 0.8.33 before 0.8.41; from 0.8.41 before 0.8.64 (not affected: 0.8.41; 0.8.64)
- deepseek-tui (crates.io): from 0.8.33 up to 0.8.41
- deepseek-tui (npm): from 0.8.33 before 0.8.41
- codewhale-tui (crates.io): from 0.8.41 before 0.8.64
- codewhale (npm): from 0.8.41 before 0.8.64

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f> (exploit, vendor-advisory, web)
- <https://github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381> (patch, web)
- <https://www.vulncheck.com/advisories/codewhale-rlm-eval-before-remote-code-execution> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-75858> (advisory)
- <https://github.com/Hmbown/CodeWhale> (package)

## Sources

- CVE List: [CVE-2026-75858](https://www.cve.org/CVERecord?id=CVE-2026-75858), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-wrj3-vj8c-784f](https://github.com/advisories/GHSA-wrj3-vj8c-784f), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2026-75858](https://nvd.nist.gov/vuln/detail/CVE-2026-75858), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-75858 · Whole record: https://cve.day/CVE-2026-75858.json · Rebuilt by cve.day 2026-11-25T22:59:33.511Z
