What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: nltk 3.10.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-65915 or the next vulnerability affects your stack