What’s Vulnerable › Vulnerabilities

CVE-2026-62388: NLTK before 3.10.0 Insecure Default Configuration in pathsec.py

Description

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 products

How to fix

Upgrade to a fixed version: nltk 3.10.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-62388 or the next vulnerability affects your stack