Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. codewhale-tui
  4. ›
  5. CVE-2026-75858

CVE-2026-75858: CodeWhale: rlm_eval auto-approves arbitrary Python execution, bypassing the user's approval policy (RCE)

September 4, 2026

The rlm_eval tool runs an arbitrary Python string chosen by the model in a real python3 interpreter. Its approval_requirement() returns ApprovalRequirement::Auto, which the engine treats as “never prompt,” regardless of the user’s configured --approval-policy. A single tool call — which prompt injection from any untrusted content the agent reads (a web page, a fetched URL, a repo file, an MCP tool result) can induce — runs code on the user’s machine at the user’s privilege with no prompt and no audit step. This is the same defect that was already patched on the sibling run_tests tool (CVE-2026-45311); the fix never reached rlm_eval or rlm_open, which expose a broader surface (full Python on the host, not just cargo test).

References

  • github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381
  • github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f
  • github.com/advisories/GHSA-wrj3-vj8c-784f
  • nvd.nist.gov/vuln/detail/CVE-2026-75858
  • www.vulncheck.com/advisories/codewhale-rlm-eval-before-remote-code-execution

Code Behaviors & Features

Detect and mitigate CVE-2026-75858 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.8.41 before 0.8.64

Fixed versions

  • 0.8.64

Solution

Upgrade to version 0.8.64 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

cargo/codewhale-tui/CVE-2026-75858.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:22:08 +0000.