Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-45374— CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files

Quick assessment

Affected
Hmbown CodeWhale
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CodeWhale是Hunter Bown个人开发者的一款终端编码智能体工具。 CodeWhale 0.8.26之前版本存在代码注入漏洞,该漏洞源于task_create工具生成持久子代理继承两个不安全默认值,allow_shell默认为true且auto_approve默认为true,用户批准看似良性的工作提示但生成的子代理静默接收不受限制、未批准的shell访问。

CVSS 9.6 · Critical EPSS 0.26% · P17

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
Hmbown CodeWhale < 0.8.26 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45374

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files
Source: CVE Program / CVE List V5
Vulnerability Description
CodeWhale is a DeepSeek + MiMo coding agent in terminal. Prior to 0.8.26, the task_create tool spawns durable sub-agents that inherit two insecure defaults, allow_shell defaults to true (config.rs:1499: self.allow_shell.unwrap_or(true)) and auto_approve defaults to true (task_manager.rs:297: auto_approve: Some(true)). When a user approves a task_create call (which requires ApprovalRequirement::Required), they approve what appears to be a benign work prompt. However, the spawned sub-agent silently receives unrestricted, unapproved shell access. This vulnerability is fixed in 0.8.26.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
CodeWhale 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CodeWhale是Hunter Bown个人开发者的一款终端编码智能体工具。 CodeWhale 0.8.26之前版本存在代码注入漏洞,该漏洞源于task_create工具生成持久子代理继承两个不安全默认值,allow_shell默认为true且auto_approve默认为true,用户批准看似良性的工作提示但生成的子代理静默接收不受限制、未批准的shell访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Hmbown CodeWhale < 0.8.26 -

II. Public POCs for CVE-2026-45374

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7414 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-45374

登录查看更多情报信息。

Vendor Advisories for CVE-2026-45374 (1)

Same Patch Batch · Hmbown · 2026-05-28 · 4 CVEs total

CVE-2026-45311 9.6 CRITICAL CodeWhale: run_tests Tool Enables RCE via Malicious Repository Without Approval
CVE-2026-45310 7.4 HIGH CodeWhale: SSRF via HTTP Redirect Bypass in fetch_url Tool
CVE-2026-45373 7.4 HIGH CodeWhale: SSRF‌ IPV6 bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-45374

No comments yet


Leave a comment