RCE in Nltk
CVE-2026-62388
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.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-62388?
- CVE-2026-62388 is a high-severity vulnerability in Nltk, classified under Initialization of a Resource with an Insecure Default. CVSS score: 7.5/10. Published 2026-08-22.
- How severe is CVE-2026-62388?
- High severity. CVSS v3 base score is 7.5 out of 10.