Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-79674

NLTK 3.10.2 Path Traversal via corpus-reader constructors

Description

NLTK versions before 3.10.3 contain a path sandbox bypass vulnerability in corpus-reader constructors that allows attackers to read files outside the intended data root. Attackers can supply arbitrary corpus root paths to LinThesaurusCorpusReader and PanLexLiteCorpusReader constructors to access filesystem content and SQLite databases outside the pathsec sandbox boundary.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

nltk nltk

Default version status: unaffected

  • 0 to < 3.10.3affected
  • 3.10.3unaffected
pkg:pypi/nltk

References