MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-63312GHSA-x5ph-mj9p-rfr8

NLTK StreamBackedCorpusView Bypasses pathsec.ENFORCE Arbitrary File Read

Not on CISA KEVCVSS 7.5 (v3.1)
  • Overview

Summary

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,

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)