Skip to content
OpenAdvisories
High · 8.2 CVE-2026-79674 EUVD-2026-65524GHSA-3gq4-3j92-5w49GHSA-rcw8-9qrw-27m2PYSEC-2026-3736

NLTK 3.10.2 Path Traversal via corpus-reader constructors

Published Aug 25, 2026 · Updated Aug 25, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
nltk nltk < 3.10.3 3.10.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nltk 3.10.3-1 —
Debian 13 nltk No fix yet —
Debian 12 nltk No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS nltk No fix yet —
Ubuntu Pro 24.04 LTS nltk No fix yet —
Ubuntu Pro 22.04 LTS nltk No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS nltk No fix yet —
Ubuntu Pro 18.04 LTS nltk No fix yet —
Ubuntu Pro 16.04 LTS nltk No fix yet —
Ubuntu Pro 14.04 LTS nltk No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nltk < 3.10.3 3.10.3 GHSA-3gq4-3j92-5w49

References