Skip to main content
← All vulnerabilities
CVE-2026-70626GHSA-R6GQ-WHWQ-MVG9PYSEC-2026-3732

NLTK before 3.9.4 Symlink Escape via CorpusReader

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

Summary

NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.

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

  • nltkPyPI

    fixed in 3.9.4

References 2

GitHub · nltk/nltk

vulncheck.com