CVE-2026-33236

High

Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. In versions 3.9.3 and prior, the NLTK downloader does not validate the `subdir` and `id` attributes when processing remote XML index files. Attackers can control a remote XML index server to provide malicious values containing path traversal sequences (such as `../`), which can lead to arbitrary directory creation, arbitrary file creation, and arbitrary file overwrite. Commit 89fe2ec2c6bae6e2e7a46dad65cc34231976ed8a patches the issue.

SeverityHigh
CVSS8.1
Exploit probability—
ProductNltk
PublishedMar 20, 2026
First seenMar 20, 2026

How to fix

Affected products

ProductAffected versionsFixed in
nltk nltkv ≤ 3.9.3—
nltkPyPIv ≤ 3.9.2, v < 3.9.43.9.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.