8.2High

CVE-2026-79674NLTK 3.10.2 Path Traversal via corpus-reader constructors

nltk nltk Published: (2 months ago)

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.

Weakness (CWE): CWE-73

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
nltk nltk < 3.10.3, fixed 3.10.3

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* < 3.10.3