Quick answers
- Is CVE-2026-75858 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-75858 being exploited in the wild.
- How severe is CVE-2026-75858?
- High severity, with a CVSS score of 7.8, published 4 September 2026.
- Which products and versions are affected?
- codewhale-tui (crates.io) >= 0.8.41, < 0.8.64; deepseek-tui (crates.io) >= 0.8.33, <= 0.8.41.
- Is there a fix for CVE-2026-75858?
- A patch was published on 2026-07-16: Fix available in version 0.8.64 (commit 57f3c89471e27ac4032d9791f6885e5d4408c381) Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-75858 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-75858?
- Check whether you run codewhale-tui (crates.io) or deepseek-tui (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is a code injection flaw in the rlm_eval and rlm_open tools in CodeWhale. The rlm_eval tool's approval_requirement() method returns ApprovalRequirement::Auto, which overrides the trait default of Required for tools with ExecutesCode capability. This causes the engine's approval gate to short-circuit: when approval_requirement() is Auto, the condition (spec.approval_requirement() != ApprovalRequirement::Auto && !registry.context().auto_approve) evaluates to false, preventing any Event::ApprovalRequired from being emitted. As a result, the user's --approval-policy (on-request, unless-trusted, never) is never consulted. The rlm_eval tool reads the LLM-controlled "code" field and passes it directly to kernel.run() in a real python3 interpreter. The companion rlm_open tool can stage content, file reads, or URL fetches into the Python kernel before rlm_eval executes. Both tools are registered unconditionally with no disable flag. An attacker can inject prompt injection payloads via any untrusted content the agent processes (web pages, fetched URLs, repo files, MCP tool results) to trigger unsandboxed code execution at the user's UID, allowing theft of SSH keys, cloud credentials, and other secrets, or achieving persistence via shell rc files and authorized_keys. The fix in version 0.8.64 (commit 57f3c89) addresses this by respecting the approval policy for these tools.
Affected products
- CodeWhale codewhale-tui >= 0.8.41, < 0.8.64
- CodeWhale codewhale >= 0.8.41, < 0.8.64
- DeepSeek deepseek-tui >= 0.8.33, <= 0.8.41
- DeepSeek deepseek-tui >= 0.8.33, < 0.8.41
Identifiers
- CVE-2026-75858
- GHSA-wrj3-vj8c-784f
Timeline
- 2026-09-04: disclosed: Public disclosure via GitHub Advisory Database
- 2026-07-16: patched: Fix available in version 0.8.64 (commit 57f3c89471e27ac4032d9791f6885e5d4408c381)