GHSA-8h9m-22mv-qv5r
MEDIUM 6.2CVSS 3.1withdrawn / rejectedDuplicate Advisory: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-r6gq-whwq-mvg9. This link is maintained to preserve external references.
Original Description
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nltk | <= 3.9.3 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-70626 · ADVISORY
- https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Aug 2026)