CodeWhale before 0.8.64 Remote Code Execution via allow_shell
Summary
| CVE | CVE-2026-75911 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-18 16:18:23 UTC |
| Updated | 2026-08-18 20:17:33 UTC |
| Description | CodeWhale versions before 0.8.64 fail to properly validate the allow_shell configuration parameter from project config files, allowing attackers to enable arbitrary shell command execution by committing a malicious .codewhale/config.toml file to a repository. When a user clones and opens the repository in CodeWhale, the AI model gains access to exec_shell and task_shell tools, enabling execution of arbitrary shell commands on the victim's machine without explicit user consent. |
Risk And Classification
Primary CVSS: v4.0 8.5 HIGH from [email protected]
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-94 | CWE-94 Improper Control of Generation of Code ('Code Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.5 | HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 8.5 | HIGH | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
PassiveConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Hmbown | CodeWhale | affected 0.8.6 0.8.41 semver | Not specified |
| CNA | Hmbown | CodeWhale | unaffected 0.8.41 semver | Not specified |
| CNA | Hmbown | CodeWhale | affected 0.8.6 0.8.41 semver | Not specified |
| CNA | Hmbown | CodeWhale | unaffected 0.8.41 semver | Not specified |
| CNA | Hmbown | CodeWhale | affected 0.8.41 0.8.64 semver | Not specified |
| CNA | Hmbown | CodeWhale | unaffected 0.8.64 semver | Not specified |
| CNA | Hmbown | CodeWhale | affected 0.8.41 0.8.64 semver | Not specified |
| CNA | Hmbown | CodeWhale | unaffected 0.8.64 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/Hmbown/CodeWhale/security/advisories/GHSA-gx45-xrj5-g6c4 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| www.vulncheck.com/advisories/codewhale-before-remote-code-execution-via-allow-s... | [email protected] | www.vulncheck.com | |
| github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: sondt99 (en)
CNA: dungNHVhust (en)
There are currently no legacy QID mappings associated with this CVE.