CVE-2026-45311
Last modified
CVE-2026-45311 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-45311?
How severe is CVE-2026-45311?
How do I fix CVE-2026-45311?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45305Symfony is a PHP framework for web and console applications …7.5
- CVE-2026-45306pyLoad is a free and open-source download manager written in…6.5
- CVE-2026-45307Speakr is a personal, self-hosted web application designed f…6.1
- CVE-2026-45309AsyncSSH is a Python package which provides an asynchronous …7.5
- CVE-2026-4531A weakness has been identified in Free5GC 4.1.0. Affected is…6.9
- CVE-2026-45310CodeWhale is a DeepSeek + MiMo coding agent in terminal. Pri…7.4
- CVE-2026-45312RAGFlow is an open-source RAG (Retrieval-Augmented Generatio…9.9
- CVE-2026-45313Sandboxie-Plus is an open source sandbox-based isolation sof…7.7
- CVE-2026-45314Open WebUI is a self-hosted artificial intelligence platform…6.1
- CVE-2026-45315Open WebUI is a self-hosted artificial intelligence platform…8.7
- CVE-2026-45316Open WebUI is a self-hosted artificial intelligence platform…3.5
- CVE-2026-45317Open WebUI is a self-hosted artificial intelligence platform…4.6
Are you affected by CVE-2026-45311?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
