Advisory details:
pypa / nltk/PYSEC-2026-3732
| Advisory ID | pypa/nltk/PYSEC-2026-3732 |
| Aliases |
CVE-2026-70626
GHSA-r6gq-whwq-mvg9 PYSEC-2026-3732 |
| Summary | 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 7.7 |
| Risk | 3.9 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| There are no known CWE. |
| System | Score | Found at |
|---|---|---|
| cvssv4 | 8.6 | https://github.com/pypa/advisory-database/blob/main/vulns/nltk/PYSEC-2026-3732.yaml |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9 | ||
| https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
There are no SSVC decisions available.