CVE-2026-75911
8.5
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Hmbown | CodeWhale | 0.8.6 < 0.8.41 | affected |
| Hmbown | CodeWhale | 0.8.41 | unaffected |
| Hmbown | CodeWhale | 0.8.6 < 0.8.41 | affected |
| Hmbown | CodeWhale | 0.8.41 | unaffected |
| Hmbown | CodeWhale | 0.8.41 < 0.8.64 | affected |
| Hmbown | CodeWhale | 0.8.64 | unaffected |
| Hmbown | CodeWhale | 0.8.41 < 0.8.64 | affected |
| Hmbown | CodeWhale | 0.8.64 | unaffected |
Weaknesses
- CWE-94: Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
Additional References
References
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-gx45-xrj5-g6c4
- https://github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c
- https://www.vulncheck.com/advisories/codewhale-before-remote-code-execution-via-allow-shell
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.