CVE-2026-65915
NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointer
- State
- Published
- Severity
- 7.1 High
- Published
- Aug 22, 2026
- Updated
- Aug 24, 2026
- Reserved
- Jul 23, 2026
Description
NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-284 Improper Access Control
Affected Products
| Product | Versions |
|---|---|
nltknltk |
|
References
- GitHub Security Advisory (GHSA-72r2-7mfr-5xr9)vendor-advisory
- VulnCheck Advisory: NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointerthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.