Skip to main content
VulnerabilityPublished Updated

CVE-2026-45311: Hmbown CodeWhale · Code Injection

Affects Hmbown CodeWhaleSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.6 Critical : upgrade to 0.8.23 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.8.23
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade CodeWhale and github/Hmbown/codewhale to 0.8.23.

Affected software

ProductAffectedFixed in
HmbownCodeWhaleAffected
  • >=0.3.0 <0.8.23
Fixed in
  • 0.8.23
crates.iogithub/Hmbown/codewhalepkg:cargo/github/Hmbown/codewhaleOther threatsAffected
  • <0.8.23
Fixed in
  • 0.8.23

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability is fixed in CodeWhale version 0.8.23. Users should upgrade to version 0.8.23 or later to remediate the issue. Patch status is not explicitly confirmed in the vendor advisory, but the description states the vulnerability is fixed in 0.8.23. Until upgrading, users should avoid running CodeWhale on untrusted repositories or disable automatic test execution if possible.

Description

CodeWhale is a DeepSeek + MiMo coding agent in terminal. From 0.3.0 to 0.8.23, the run_tests tool executes cargo test in the workspace with ApprovalRequirement::Auto, meaning it runs without any user approval prompt.cargo test compiles and executes arbitrary code: test binaries, build.rs build scripts, and proc macros. While auto-approving test execution is a deliberate design choice, it creates an inconsistency in the security boundary. However, in a malicious repository, test code can execute arbitrary shell commands, exfiltrate credentials, or establish persistence with zero approval. The attack is amplified by AGENTS.md (auto-loaded into the system prompt), which can instruct the model to run tests proactively at session start. This vulnerability is fixed in 0.8.23.

References

Community reviews

Loading reviews…