CVE-2026-45374
Full vulnerability record from the local CVENow database.
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.
Severity
CRITICAL
CVSS score
9.6
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-28 18:16:35.843000
Last modified
2026-10-26 13:10:00.140000
View original CVE JSON
{
"id": "CVE-2026-45374",
"sourceIdentifier": "[email protected]",
"published": "2026-05-28T18:16:35.843",
"lastModified": "2026-10-26T13:10:00.140",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "CodeWhale es un agente de codificación DeepSeek + MiMo en terminal. Antes de 0.8.26, la herramienta task_create genera subagentes duraderos que heredan dos valores predeterminados inseguros: allow_shell se establece en true por defecto (config.rs:1499: self.allow_shell.unwrap_or(true)) y auto_approve se establece en true por defecto (task_manager.rs:297: auto_approve: Some(true)). Cuando un usuario aprueba una llamada a task_create (lo que requiere ApprovalRequirement::Required), aprueba lo que parece ser una solicitud de trabajo benigna. Sin embargo, el subagente generado recibe silenciosamente acceso a la shell sin restricciones y sin aprobación. Esta vulnerabilidad se corrige en 0.8.26."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Hmbown",
"product": "CodeWhale",
"versions": [
{
"version": "< 0.8.26",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"baseScore": 9.6,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 6.0
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-30T02:04:28.787540Z",
"id": "CVE-2026-45374",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"references": [
{
"url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4",
"source": "[email protected]"
},
{
"url": "https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26",
"source": "[email protected]"
},
{
"url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}