Web Application
CVE-2026-78680 high CVSS 7.8

Vulnérabilité dans nltk (CVE-2026-78680)

Résumé

Vulnérabilité dans nltk (CVE-2026-78680). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via dot. Atténuation : mise à jour vers >=3.10.3 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Two NLTK sites executed the Graphviz dot program by bare name, so process creation resolved it via the search path — and on Windows via the current working directory — rather than a validated absolute location. An attacker who can place a file named dot where resolution looks (the CWD on Windows, or a writable/relative entry such as . on PATH) has their binary executed in place of Graphviz (arbitrary code execution).

Affected (<= 3.10.2):

  • nltk.parse.dependencygraph.dot2img — called find_binary("dot") but discarded the returned validated path and then ran the bare name ["dot", ...], so the validation had no effect.
  • nltk.translate.api.AlignedSent._repr_svg_ — ran the bare name with no validation at all (IPython SVG rendering).

This is the same class already fixed for the senna, weka, boxer, malt, repp and hunpos wrappers. nltk.internals.find_binary refuses a CWD-relative match for a bare tool name and returns only a trusted absolute path; the fix runs that path in both sites.


Attack demonstration

Captured output, not illustrative. A ./dot that writes a PWNED marker, planted in the CWD with . prepended to PATH.

The vulnerable behaviour (old bare-name exec):

Control (OLD behavior) — bare ['dot'] in this dir with '.' on PATH:
  bare ['dot'] executed planted binary = True

The patched functions refuse it:

FIXED code, with ./dot planted and '.' on PATH:
  dependencygraph.dot2img : Exception "Cannot find the dot binary..."…

Source: NIST National Vulnerability Database NVD GitHub Advisory

Résumé IA

Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.

Une vulnérabilité référencée CVE-2026-78680 a été découverte dans CVE-2026-78680.
Des attaquants peuvent cibler un point d'entrée spécifique comme dot à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 7.8/10.
Action : mettez à jour CVE-2026-78680 vers >=3.10.3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « CVE-2026-78680 CVE-2026-78680 » sur le site de l'éditeur.

CVE-2026-78680 (CVE-2026-78680) — CWE-426 / CVSS v3 7.8
Vecteur d'attaque : local / sans interaction utilisateur
Surface d'attaque : dot / PATH / nltk.parse.dependencygraph.dot2img / nltk.translate.api.AlignedSent._repr_svg_
Versions affectées : <= 3.10.2
Correctif : >=3.10.3 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

NLTKの古いバージョンでGraphviz dotバイナリを呼び出す際にパス検証が欠如していること。

📍 Périmètre concerné

NLTKのバージョン3.10.3未満。

🔥 Gravité

攻撃者が任意のコードを実行できるため重大。

🔧 Comment corriger

NLTKをバージョン3.10.3以上にアップデートする。

🛡️ Contournement

既知の回避策は特になし。

🔍 Détection

NLTKのバージョンを確認し、3.10.3未満であれば影響を受ける。

Paquets affectés

pip nltk
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.3"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus