Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
NLTK versions before 3.9.4 are affected: CorpusReader.open() checks file paths lexically and does not account for symlinks, so a symlink placed inside the corpus root can point to a file outside it. An attacker who can place or influence files inside the allowed corpus root can read arbitrary local files readable by the application user. Upgrade to NLTK 3.9.4 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.6 | High | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0020, the 9th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:38 UTC First seen by agentprime
- 31 Oct 2026, 14:38 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r6gq-whwq-mvg9
- OSV: GHSA-r6gq-whwq-mvg9
- github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9
- nvd.nist.gov/vuln/detail/CVE-2026-70626
- github.com/nltk/nltk/pull/3522
- github.com/nltk/nltk/commit/1b0e519e2324bc1a273d56edee63e44d0ad85b48
- github.com/nltk/nltk
- github.com/nltk/nltk/releases/tag/3.9.4
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3732.yaml
- www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader