CVE Explorer
CVE-2026-45311
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"CodeWhale","vendor":"Hmbown","versions":[{"status":"affected","version":">= 0.3.0, < 0.8.23"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f153f2f93107ea8415692ecb77cf6f2cad1b2fee344a5d1974cd638790367033 · sha256:241c4feb7e94732e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f153f2f93107ea8415692ecb77cf6f2cad1b2fee344a5d1974cd638790367033 · sha256:241c4feb7e94732e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f153f2f93107ea8415692ecb77cf6f2cad1b2fee344a5d1974cd638790367033 · sha256:241c4feb7e94732e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wx44-2q6h-j6p8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f153f2f93107ea8415692ecb77cf6f2cad1b2fee344a5d1974cd638790367033 · sha256:241c4feb7e94732e… · /containers/adp/0/references/0
{"name":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wx44-2q6h-j6p8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wx44-2q6h-j6p8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f153f2f93107ea8415692ecb77cf6f2cad1b2fee344a5d1974cd638790367033 · sha256:241c4feb7e94732e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.