CVE-2026-62388
Received Received - Intake

NLTK Path Traversal and Deserialization Bypass via ENFORCE=False

Vulnerability report for CVE-2026-62388, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-22

Last updated on: 2026-08-22

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-22
Last Modified
2026-08-22
Generated
2026-08-22
AI Q&A
2026-08-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nltk nltk to 3.10.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1188 The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-62388 affects NLTK versions before 3.10.0 due to an insecure default configuration in pathsec.py where ENFORCE is set to False. This causes security validation functions to only emit warnings instead of raising exceptions, effectively disabling protections against path traversal and pickle deserialization attacks.

Detection Guidance

Check NLTK version with 'pip show nltk' or 'python -c "import nltk; print(nltk.__version__)"'. If version is below 3.10.0, the system is vulnerable. Inspect pathsec.py for ENFORCE=False default setting. Monitor for warnings in logs when accessing restricted paths or files.

Impact Analysis

Attackers can exploit this to bypass security controls and access sensitive files or execute arbitrary code. For example, reading restricted files like /etc/passwd or performing unsafe deserialization could occur without proper warnings preventing the actions.

Mitigation Strategies

Upgrade NLTK to version 3.10.0 or later. Set environment variable NLTK_PATHSEC_ENFORCE=1 to enable security controls. Review and restrict file access permissions. Monitor for suspicious file access attempts in logs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-62388. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart