CVE-2026-62388

Summary

NLTK versions before 3.10.0 default to ENFORCE=False in pathsec.py, causing all security validation functions to emit warnings instead of raising exceptions. Attackers can bypass path traversal and pickle deserialization protections by exploiting the disabled security controls that are only active when manually enabled.

Affected Software

VendorProductVersion RangeStatus
nltknltk0 < 3.10.0affected
nltknltk3.10.0unaffected

Weaknesses

  • CWE-1188: Initialization of a Resource with an Insecure Default

References