NLTK versions before 3.10.3 contain a path traversal vulnerability in corpus readers that reopen root-derived paths using built-in open() instead of nltk.pathsec.open(), allowing symlinks to escape trusted roots. Attackers who stage symlinked corpus files under a trusted data root can disclose outside-root content through normal corpus reader methods like channels(), domains(), and synonyms().
References
| Link | Resource |
|---|---|
| https://github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/nltk-before-path-traversal-via-symlink-bypass | Third Party Advisory |
| https://github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr | Exploit Vendor Advisory |
Configurations
History
31 Aug 2026, 19:06
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr - Exploit, Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/nltk-before-path-traversal-via-symlink-bypass - Third Party Advisory | |
| First Time |
Nltk nltk
Nltk |
|
| CPE | cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* |
25 Aug 2026, 17:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr - |
25 Aug 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-25 16:17
Updated : 2026-08-31 19:06
NVD link : CVE-2026-79676
Mitre link : CVE-2026-79676
CVE.ORG link : CVE-2026-79676
JSON object : View
Products Affected
nltk
- nltk
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
