Download of code without integrity check in Natural Language Toolkit - CVE-2026-12259
Published: November 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject malicious package contents into an NLTK installation.
The vulnerability exists due to missing post-download integrity verification in the NLTK package downloader when it extracts a downloaded archive. A remote attacker can intercept a package download, redirect it to an attacker-controlled server, or substitute the archive on a shared filesystem to have NLTK extract malicious contents.