Skip to main content
← All vulnerabilities
CVE-2026-65915GHSA-72R2-7MFR-5XR9PYSEC-2026-3731

NLTK before 3.10.0 Arbitrary File Read via FileSystemPathPointer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nltk nltk

    fixed in 3.10.0

  • nltkPyPI

    fixed in 3.10.0

References 2

GitHub · nltk/nltk

vulncheck.com