ADVISORIES

Vulnerability

CVE-2026-63312

NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() directly instead of pathsec.open(). Attackers who control the fileid argument can read arbitrary local files regardless of the ENFORCE setting, including sensitive system files and application credentials.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 2Debian 1Ubuntu 1

Advisories in PyPI

  • GHSA-x5ph-mj9p-rfr8

    NLTK: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read

    High CVE-2026-63312 PyPI Updated 8 September 2026
  • PYSEC-2026-3730

    NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() directly instead of pathsec.open(). Attackers who control the…

    CVE-2026-63312 PyPI Updated 1 September 2026

References