CVE-2026-65915
NLTK versions before 3.10.0 contain a logic bug in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nltk/nltk/security/advisories/GHSA-72r2-7mfr-5xr9
- www.vulncheck.com/advisories/nltk-before-arbitrary-file-read-via-filesystempathpointer
- nvd.nist.gov/vuln/detail/CVE-2026-65915
- github.com/nltk/nltk/pull/3522
- github.com/nltk/nltk/commit/69db9911fdba914ceeaca7aec6e892d1b14586a9
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3731.yaml
- huntr.com/bounties/a510de7b-ffaf-4a83-9bf8-fa7e63f4bd2d
- github.com/advisories/GHSA-72r2-7mfr-5xr9
- nvd.nist.gov/vuln/detail/CVE-2026-65915
- cve.org/CVERecord?id=CVE-2026-65915
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.