CodeWhale rlm_eval before 0.8.64 Remote Code Execution
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Aug 18, 2026
- Updated
- Sep 8, 2026
- EPSS
- 0.4% · 28th percentile
- CWE
- CWE-94
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
34
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · VulnCheck
- 8.5
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (VulnCheck). Independent of NVD's CPE analysis and usually ahead of it.
Hmbown CodeWhale
- 0.8.41, 0.8.41, 0.8.64, 0.8.64not affected
- 0.8.33 and later · before 0.8.41affected · semver
- 0.8.33 and later · before 0.8.41affected · semver
- 0.8.41 and later · before 0.8.64affected · semver
- 0.8.41 and later · before 0.8.64affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| crates.io | codewhale-tui | from 0.8.41 · before 0.8.64 | 0.8.64 |
| crates.io | deepseek-tui | from 0.8.33 · up to and including 0.8.41 | — |
| npm | codewhale | from 0.8.41 · before 0.8.64 | 0.8.64 |
| npm | codewhale | from 0.8.41 · before 0.8.64 | 0.8.64 |
| npm | deepseek-tui | from 0.8.33 · before 0.8.41 | 0.8.41 |
| npm | deepseek-tui | from 0.8.33 · before 0.8.41 | 0.8.41 |
Same product
hmbown: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-45374CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files38Monitor
- CVE-2026-45311CodeWhale: run_tests Tool Enables RCE via Malicious Repository Without Approval38Monitor
- CVE-2026-75856CodeWhale before 0.8.64 SSRF Bypass via DNS Pinning TOCTOU36Monitor
- CVE-2026-75915CodeWhale before 0.8.64 Environment Variable Leak via js_execution34Monitor
- CVE-2026-75914CodeWhale before 0.8.64 Path Traversal via image_analyze symlink34Monitor
- CVE-2026-75913CodeWhale before 0.8.64 Argument Injection via git_show34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Hmbown CodeWhale | 0.8.41 | Vendor (CNA) |
| Hmbown CodeWhale | 0.8.64 | Vendor (CNA) |
| crates.io:codewhale-tui | 0.8.64 | Package registry (OSV) |
| npm:codewhale | 0.8.64 | Package registry (OSV) |
| npm:deepseek-tui | 0.8.41 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- sai-shreporter
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-4531182 days apartCodeWhale: run_tests Tool Enables RCE via Malicious Repository Without Approval38Monitor
- CVE-2026-4537482 days apartCodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files38Monitor
- CVE-2026-759110 days apartCodeWhale before 0.8.64 Remote Code Execution via allow_shell34Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- P
- Scope
- X
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381
- github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f
- www.vulncheck.com/advisories/codewhale-rlm-eval-before-remote-code-execution
Vendor advisories and official records. Exploit/PoC links are deliberately left out.