Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file rea...

Date Jul 31, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product PyPI ยท nltk
CVE CVE-2026-12074
High-risk advisory CVE-2026-12074

Summary

Natural Language Toolkit (NLTK) has path traversal in FramenetCorpusReader.frame() that allows arbitrary XML file read, bypassing the nltk.pathsec sandbox (ENFORCE=True)

Why it matters

GitHub has published a reviewed security advisory for nltk. Prioritize it with other application dependency updates.

Operator check

Check whether nltk is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.