Time-of-check Time-of-use (TOCTOU) Race Condition Affecting nltk package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (10th 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 Learn

Learn about Time-of-check Time-of-use (TOCTOU) Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-NLTK-18592338
  • published8 Aug 2026
  • disclosed7 Aug 2026
  • creditUnknown

Introduced: 7 Aug 2026

NewCVE-2026-12261  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for nltk.

Overview

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

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition via the downloader process. An attacker can compromise data integrity by causing package archives to be extracted into shared namespaces before integrity validation, which may overwrite trusted resources in machine learning pipelines and environments sensitive to reproducibility. This is only exploitable if a user interacts with the downloader and downloads a malicious package.

CVSS Base Scores

version 4.0
version 3.1