CVE Catalog

CVE-2026-70626

MediumCVSS 6.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. Path validation is lexical and does not account for symlink resolution.

Risk Assessment

A local attacker can access sensitive system files, potentially leading to data leakage or privilege escalation.

Recommendation

Update NLTK to version 3.9.4 or later, which includes a security fix for path validation.

Other vulnerabilities in NLTK

See all
Original NVD description (English source)

NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS