CVE-2026-62388

NLTK before 3.10.0 Insecure Default Configuration in pathsec.py

State
Published
Severity
8.7 High
Published
Aug 22, 2026
Updated
Aug 29, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

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

Affected Products

ProductVersions
nltknltk
  • before 3.10.0Affected
  • 3.10.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.