nday
CVE-2026-83816 GHSA-3mgh-93r5-r7jf

CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

codewhale-hq / CodeWhale

Correctif recensé 3 jours après la divulgation. Versions corrigées : codewhale-tui 0.9.0 et codewhale 0.9.0. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA GitHub_M, NVD, republishing [email protected] et GitHub advisory GHSA-3mgh-93r5-r7jf
broken access control
CWE-863, stated by the CNA GitHub_M, NVD, republishing [email protected] et GitHub advisory GHSA-3mgh-93r5-r7jf
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
npm
GHSA-3mgh-93r5-r7jf: npm packages codewhale
crates.io
GHSA-3mgh-93r5-r7jf: rust packages codewhale-tui
étape actuelle
PAT
divulgation
délai avant correctif
T+3d
CVSS
8.1 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-16T18:55Z
PATcorrectif
11-19T23:01Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

CodeWhale is a DeepSeek and MiMo coding agent for the terminal. Prior to 0.9.0, the ExecShellTool::approval_requirement_for path used is_parallel_readonly_command to downgrade commands to automatic approval based on a flag-stripped command allowlist. The allowlist treated fd, rg, and git grep as read-only even when fd -x or fd --exec, rg --pre, or git grep --open-files-in-pager selected an external program. registered_tool_approval_required returned without displaying a prompt for that automatic classification, and the later command-safety check also treated the base utilities as safe. Attacker-controlled content that influenced an agent tool call could therefore cause arbitrary program execution on the developer host without the approval promised by the default interactive profile, resulting in unauthorized access, modification, or disruption. This issue is fixed in version 0.9.0.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 8.1, gravité élevée.

source cvelist · observé en direct par nday le · brut
{
  "id": 475053,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-83816",
  "occurred_at": "2026-11-16T18:55:40.45Z",
  "observed_at": "2026-11-16T20:02:00.184504Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.1,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-16T21:21:32.272607Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-16T18:55:40.450Z",
    "assigner_short_name": "GitHub_M"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique les versions corrigées codewhale-tui 0.9.0 et codewhale 0.9.0. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-3mgh-93r5-r7jf · observé en direct par nday le · brut
{
  "id": 489244,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-3mgh-93r5-r7jf",
  "occurred_at": null,
  "observed_at": "2026-11-19T23:01:42.561574Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-3mgh-93r5-r7jf",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 8.1,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Special Elements used in an OS Command",
        "cwe_id": "CWE-78"
      },
      {
        "name": "Incorrect Authorization",
        "cwe_id": "CWE-863"
      }
    ],
    "ghsa_id": "GHSA-3mgh-93r5-r7jf",
    "packages": [
      {
        "name": "codewhale-tui",
        "ecosystem": "rust",
        "first_patched_version": "0.9.0",
        "vulnerable_version_range": "<= 0.8.67"
      },
      {
        "name": "codewhale",
        "ecosystem": "npm",
        "first_patched_version": "0.9.0",
        "vulnerable_version_range": "<= 0.8.67"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/codewhale-hq/Codewhale/security/advisories/GHSA-3mgh-93r5-r7jf",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-83816",
      "https://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686",
      "https://github.com/codewhale-hq/Codewhale/releases/tag/v0.9.0",
      "https://github.com/advisories/GHSA-3mgh-93r5-r7jf"
    ],
    "fix_commit_urls": [
      "https://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686"
    ],
    "github_reviewed_at": "2026-11-19T22:48:14Z",
    "advisory_updated_at": "2026-11-19T22:48:14Z",
    "source_code_location": "https://github.com/codewhale-hq/Codewhale",
    "advisory_published_at": "2026-11-19T22:48:14Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.