← Back to CVE Explorer

CVE-2026-75858

Full vulnerability record from the local CVENow database.

Description

CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code execution vulnerability in the rlm_eval tool. The tool's approval_requirement() returns ApprovalRequirement::Auto, which the engine treats as 'never prompt,' causing arbitrary model-supplied Python code to run in a python3 interpreter without consulting the user's configured --approval-policy and without any approval prompt or audit step. An attacker can induce the agent to execute arbitrary code via prompt injection in untrusted content the agent reads (a web page, fetched URL, repository file, or MCP tool result); the companion rlm_open tool can stage such content. Code runs on the user's machine at the user's privilege level. Fixed in 0.8.64.

Severity
HIGH
CVSS score
8.5 (v4.0)
Vulnerability status
Deferred
Source identifier
Published
2026-08-18 16:18:21.653000
Last modified
2026-10-22 22:10:00.250000
View original CVE JSON
{
  "id": "CVE-2026-75858",
  "sourceIdentifier": "[email protected]",
  "published": "2026-08-18T16:18:21.653",
  "lastModified": "2026-10-22T22:10:00.250",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "CodeWhale (packages codewhale / codewhale-tui) versions >= 0.8.41 and < 0.8.64 contain a remote code execution vulnerability in the rlm_eval tool. The tool's approval_requirement() returns ApprovalRequirement::Auto, which the engine treats as 'never prompt,' causing arbitrary model-supplied Python code to run in a python3 interpreter without consulting the user's configured --approval-policy and without any approval prompt or audit step. An attacker can induce the agent to execute arbitrary code via prompt injection in untrusted content the agent reads (a web page, fetched URL, repository file, or MCP tool result); the companion rlm_open tool can stage such content. Code runs on the user's machine at the user's privilege level. Fixed in 0.8.64."
    },
    {
      "lang": "es",
      "value": "Las versiones de CodeWhale (paquetes codewhale / codewhale-tui) >= 0.8.41 y < 0.8.64 contienen una vulnerabilidad de ejecución remota de código en la herramienta rlm_eval. La función approval_requirement() de la herramienta devuelve ApprovalRequirement::Auto, que el motor trata como ’nunca preguntar’, lo que provoca que código Python arbitrario suministrado por el modelo se ejecute en un intérprete python3 sin consultar la política de aprobación (--approval-policy) configurada por el usuario y sin ninguna solicitud de aprobación o paso de auditoría. Un atacante puede inducir al agente a ejecutar código arbitrario a través de inyección de prompt en contenido no confiable que el agente lee (una página web, URL obtenida, archivo de repositorio o resultado de herramienta MCP); la herramienta complementaria rlm_open puede preparar dicho contenido. El código se ejecuta en la máquina del usuario con el nivel de privilegio del usuario. Corregido en 0.8.64."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "Hmbown",
          "product": "CodeWhale",
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/deepseek-tui",
          "versions": [
            {
              "version": "0.8.33",
              "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.33",
              "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-18T17:58:18.257877Z",
          "id": "CVE-2026-75858",
          "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/57f3c89471e27ac4032d9791f6885e5d4408c381",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f",
      "source": "[email protected]"
    },
    {
      "url": "https://www.vulncheck.com/advisories/codewhale-rlm-eval-before-remote-code-execution",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-wrj3-vj8c-784f",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}