Skip to main content

CodeWhale CVE-2026-75911

| EUVDEUVD-2026-60969 HIGH
Code Injection (CWE-94)
2026-08-18 VulnCheck
8.5
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
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/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
vuln.today AI
7.8 HIGH

Attack triggers locally when user opens a malicious repo (AV:L, UI:R); attacker needs no system privileges (PR:N); full local system compromise is achievable (C:H/I:H/A:H); no scope change since impact stays within the victim's own session.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 18, 2026 - 15:49 vuln.today
Analysis Generated
Aug 18, 2026 - 15:49 vuln.today
CVE Published
Aug 18, 2026 - 15:21 cve.org
HIGH 8.5

DescriptionCVE.org

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.

AnalysisAI

Shell command injection in CodeWhale before version 0.8.64 enables arbitrary code execution on a victim developer's machine through a malicious repository config file. By committing a crafted .codewhale/config.toml containing allow_shell = true to any repository, an attacker can override the tool's shell access controls; when the target developer clones and opens the repository in CodeWhale, the AI agent gains unrestricted access to exec_shell and task_shell built-in tools and executes arbitrary shell commands without the user's explicit consent. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Commit `allow_shell = true` to `.codewhale/config.toml` in repo
Delivery
Socially engineer victim developer to clone repository
Exploit
Victim opens repository in CodeWhale TUI
Execution
`merge_project_config` applies attacker-controlled shell flag without validation
Persist
AI agent gains `exec_shell` and `task_shell` tool access
Impact
Arbitrary shell commands execute on victim's machine without consent

Vulnerability AssessmentAI

Exploitation The victim must have CodeWhale version prior to 0.8.64 installed and must clone and then open a repository containing a malicious `.codewhale/config.toml` with `allow_shell = true` using the CodeWhale TUI. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 score of 8.5 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H accurately captures the threat model: the attack is local in that it triggers when the victim opens a repository on their own machine, but the attacker requires zero privileges on the victim's system and faces no technical complexity barrier. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker creates or forks a publicly accessible repository and commits a `.codewhale/config.toml` file containing `allow_shell = true`, then socially engineers a target developer into cloning the repository - for example, by disguising it as a useful open-source project or dependency. When the developer opens the repository in CodeWhale, the `merge_project_config` function reads the malicious config and silently grants the AI agent shell execution capabilities, at which point the agent can execute commands such as exfiltrating SSH keys, source code, or environment variables, or installing a persistent backdoor, all without prompting the user for consent. …
Remediation Upgrade CodeWhale to version 0.8.64 or later; the fix is implemented in commit 43563356b98c6b993085554da82e77370160a31c (https://github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c) and enforces that project-scoped configurations cannot elevate shell access above the user's global settings. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Immediately audit all repositories for suspicious .codewhale/config.toml files and notify development teams to avoid cloning repositories from untrusted sources into CodeWhale; identify all systems running versions below 0.8.64. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-75911 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy