← Back to CVE Explorer

CVE-2026-75911

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
8.5 (v4.0)
Vulnerability status
Deferred
Source identifier
Published
2026-08-18 16:18:23.057000
Last modified
2026-10-22 22:10:00.250000
View original CVE JSON
{
  "id": "CVE-2026-75911",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-18T16:18:23.057",
  "lastModified": "2026-10-22T22:10:00.250",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Versiones de CodeWhale anteriores a la 0.8.64 no validan correctamente el parámetro de configuración allow_shell de los archivos de configuración del proyecto, permitiendo a los atacantes habilitar la ejecución arbitraria de comandos de shell al confirmar un archivo .codewhale/config.toml malicioso en un repositorio. Cuando un usuario clona y abre el repositorio en CodeWhale, el modelo de IA obtiene acceso a las herramientas exec_shell y task_shell, lo que permite la ejecución de comandos de shell arbitrarios en la máquina de la víctima sin el consentimiento explícito del usuario."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Hmbown",
          "product": "CodeWhale",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/deepseek-tui",
          "versions": [
            {
              "version": "0.8.6",
              "lessThan": "0.8.41",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "0.8.41",
              "versionType": "semver",
              "status": "unaffected"
            }
          ]
        },
        {
          "vendor": "Hmbown",
          "product": "CodeWhale",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/deepseek-tui",
          "versions": [
            {
              "version": "0.8.6",
              "lessThan": "0.8.41",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "0.8.41",
              "versionType": "semver",
              "status": "unaffected"
            }
          ]
        },
        {
          "vendor": "Hmbown",
          "product": "CodeWhale",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/codewhale-tui",
          "versions": [
            {
              "version": "0.8.41",
              "lessThan": "0.8.64",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "0.8.64",
              "versionType": "semver",
              "status": "unaffected"
            }
          ]
        },
        {
          "vendor": "Hmbown",
          "product": "CodeWhale",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/codewhale",
          "versions": [
            {
              "version": "0.8.41",
              "lessThan": "0.8.64",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "0.8.64",
              "versionType": "semver",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV40": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "4.0",
          "vectorString": "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",
          "baseScore": 8.5,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "attackRequirements": "NONE",
          "privilegesRequired": "NONE",
          "userInteraction": "PASSIVE",
          "vulnConfidentialityImpact": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "vulnAvailabilityImpact": "HIGH",
          "subConfidentialityImpact": "NONE",
          "subIntegrityImpact": "NONE",
          "subAvailabilityImpact": "NONE",
          "exploitMaturity": "NOT_DEFINED",
          "confidentialityRequirement": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "availabilityRequirement": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "Automatable": "NOT_DEFINED",
          "Recovery": "NOT_DEFINED",
          "valueDensity": "NOT_DEFINED",
          "vulnerabilityResponseEffort": "NOT_DEFINED",
          "providerUrgency": "NOT_DEFINED"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-18T19:07:16.533071Z",
          "id": "CVE-2026-75911",
          "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/commit/43563356b98c6b993085554da82e77370160a31c",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-gx45-xrj5-g6c4",
      "source": "[email protected]"
    },
    {
      "url": "https://www.vulncheck.com/advisories/codewhale-before-remote-code-execution-via-allow-shell",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-gx45-xrj5-g6c4",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}