CVE-2026-65915
HIGH 7.1CVSS 4.0NLTK: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol
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.
- Published
- 22 Aug 2026
- Last modified
- 14 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-72r2-7mfr-5xr9PYSEC-2026-3731
- Sources
- NVDJSONOSV GHSA-72r2-7mfr-5xr9JSONOSV PYSEC-2026-3731JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | PyPA | CVSS 4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nltk | nltkcpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* |
< 3.10.0 | 3.10.0 |
| OSV | PyPI | nltk | < 3.10.0 | 3.10.0 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-65915 · ADVISORY
- https://github.com/nltk/nltk/pull/3522 · WEB
- https://github.com/nltk/nltk/commit/69db9911fdba914ceeaca7aec6e892d1b14586a9 · WEB
- https://github.com/nltk/nltk · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3731.yaml · WEB
- https://huntr.com/bounties/a510de7b-ffaf-4a83-9bf8-fa7e63f4bd2d · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 22 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 2026)