medium5.5
CVE-2026-62383
nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirel…
Impact
nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely. Attackers can place a symlink in the corpus root directory and read arbitrary files accessible to the process by calling channels(), domains(), categories(), or fileids() methods with the symlink filename.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | >= 3.10.0, < 3.10.2 | 3.10.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nltk | Nltk | from 3.10.0 before 3.10.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-3hhw-38pf-pxj6
- https://github.com/nltk/nltk/security/advisories/GHSA-3hhw-38pf-pxj6
- https://nvd.nist.gov/vuln/detail/CVE-2026-62383
- https://github.com/nltk/nltk/pull/3727
- https://github.com/nltk/nltk/commit/ee1a42e51982c4dce6ad3ee77ff1ac43894288ab
- https://github.com/nltk/nltk/releases/tag/v3.10.2
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3726.yaml
- https://www.vulncheck.com/advisories/nltk-ipipancorpusreader-symlink-arbitrary-file-read