Insecure Default Initialization of Resource Affecting nltk package, versions [,3.10.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.33% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-NLTK-19233414
  • published23 Aug 2026
  • disclosed22 Aug 2026
  • creditUnknown

Introduced: 22 Aug 2026

NewCVE-2026-62388  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade nltk to version 3.10.0 or higher.

Overview

nltk is a Natural Language Toolkit (NLTK) is a Python package for natural language processing.

Affected versions of this package are vulnerable to Insecure Default Initialization of Resource via disabled security enforcement in pathsec.py. An attacker can bypass protections against path traversal and unsafe pickle deserialization because NLTK defaults ENFORCE to False. In this configuration, failed security validation checks only generate warnings instead of rejecting malicious input, allowing operations that violate the intended security restrictions to continue.

CVSS Base Scores

version 4.0
version 3.1