Skip to content
High 8.7

NLTKの脆弱性、シンボリックリンク経由で任意のファイルを読み取られる

CVE-2026-126304 First seen on SecPulse

Summary

NLTKの3.10.0から3.10.4より前には、YCOECorpusReaderにシンボリックリンクの扱いの不備による脆弱性があります。悪意のあるYCOEコーパスを使うと、コーパスの外にあるファイルの内容を読み取られるおそれがあります。修正版の3.10.4以降に更新してください。

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.0から3.10.4より前には、YCOECorpusReaderにシンボリックリンクの扱いの不備による脆弱性があります。悪意のあるYCOEコーパスを使うと、コーパスの外にあるファイルの内容を読み取られるおそれがあります。修正版の3.10.4以降に更新してください。

Affected packages

PackageAffected → Fixed
nltknltk
≥ 3.10.0, < 3.10.4→ 3.10.4
pipnltk
< 3.10.4→ 3.10.4
PyPInltk
≥ 3.10.0, < 3.10.4→ 3.10.4

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 from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

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