cve.bz

CVE-2026-75858 hmbown codewhale: Code Injection

8.5 highEPSS 0.4%Fix available

High (8.5) in hmbown codewhale. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in deepseek-tui 0.8.41.

On this page
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.

Severity

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

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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-08-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • deepseek-tui (npm): fixed in 0.8.41
  • codewhale-tui (crates.io): fixed in 0.8.64
  • codewhale (npm): fixed in 0.8.64

Ask an AI about this CVE

Show the promptExplain CVE-2026-75858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-75858?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-75858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-75858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Hmbown CodeWhalefrom 0.8.33 before 0.8.41
Hmbown CodeWhalefrom 0.8.41 before 0.8.64

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wrj3-vj8c-784fcrates.iodeepseek-tui>=0.8.33 <=0.8.41no fix published
GHSA-wrj3-vj8c-784fnpmdeepseek-tui>=0.8.33 <0.8.410.8.41
GHSA-wrj3-vj8c-784fcrates.iocodewhale-tui>=0.8.41 <0.8.640.8.64
GHSA-wrj3-vj8c-784fnpmcodewhale>=0.8.41 <0.8.640.8.64

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON