Skip to content

Vulnerability in nltk

CVE-2026-78680 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

NLTKの3.10.3より前のバージョンでは、Graphvizのdotバイナリを呼び出す際に絶対パスを検証せず、攻撃者が悪意のあるdotを検索パスやカレントディレクトリに置くと任意のコードを実行される恐れがあります。影響を受けるのはpipで提供されるnltkの3.10.3より前の版です。修正版の3.10.3以降へ更新してください。

What is the problem

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

Affected scope

NLTKのバージョン3.10.3未満。

Severity

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

How to fix

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

Workaround

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

Detection

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

Affected packages

PackageAffected → Fixed
pipnltk
< 3.10.3→ 3.10.3

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

NLTK versions before 3.10.3 fail to use validated absolute paths when invoking the Graphviz dot binary in dependencygraph.dot2img and AlignedSent.repr_svg, allowing attackers to execute arbitrary code by placing a malicious dot binary in the search path or current working directory. Attackers can exploit bare-name binary resolution on Windows via the current working directory or on Unix-like systems via relative PATH entries to execute their binary instead of the legitimate Graphviz tool.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details