# CVE-2026-65915: NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointer

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-22T14:12:41.391Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-72r2-7mfr-5xr9, PYSEC-2026-3731
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: before 3.10.0 (not affected: 3.10.0)
- nltk (PyPI): before 3.10.0

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9> (exploit, evidence, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer> (advisory, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-65915](https://www.cve.org/CVERecord?id=CVE-2026-65915), CVE Terms of Use, modified 2026-08-24
- GitHub Advisory Database: [GHSA-72r2-7mfr-5xr9](https://github.com/advisories/GHSA-72r2-7mfr-5xr9), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-65915](https://nvd.nist.gov/vuln/detail/CVE-2026-65915), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-3731](https://osv.dev/vulnerability/PYSEC-2026-3731), CC-BY-4.0, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-65915 · Whole record: https://cve.day/CVE-2026-65915.json · Rebuilt by cve.day 2026-11-25T22:59:34.876Z
