nltk versions before 3.10.2 contain a symlink-based arbitrary file read vulnerability in IPIPANCorpusReader methods that bypass nltk.pathsec validation entirely
At a glance
- Source
- OSV
- Published
- Updated
- CVE
- CVE-2026-62383
- Aliases
- GHSA-3hhw-38pf-pxj6
- CVSS_V4
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE severity
- MEDIUM 6.8 Ā· CVE-2026-62383
Description
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.
References
Affected packages
| Package | Versions |
|---|---|
| PyPI Ā· nltk | introduced 3.10.0, fixed 3.10.2 |
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 ā PyPA Advisory Database |