CVE-2026-70626
published high CVSS 4.0 · 8.6NLTK before 3.9.4 Symlink Escape via CorpusReader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk0 to < 3.9.4 (affected · semver) · 3.9.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.2 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | 0 to < 3.9.4 (affected · semver)3.9.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
2- GitHub Security Advisory (GHSA-r6gq-whwq-mvg9) https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9
- VulnCheck Advisory: NLTK before 3.9.4 Symlink Escape via CorpusReader https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader
Provider assertions
2VulnCheck · cna
NLTK before 3.9.4 Symlink Escape via CorpusReader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 17fdec794260ef607a3d4e997f7bac9a4f851799fcb66b8effced4be42d81613
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record