Insecure Package Management in NLTK by NLTK Team
CVE-2026-12259
5.3MEDIUM
What is CVE-2026-12259?
In version 3.9.4 of NLTK, the 'Downloader._download_package()' function writes downloaded package bytes directly to disk without verifying integrity through SHA-256 or MD5 checksums. This flaw allows attackers to inject malicious data into package downloads from compromised mirrors or proxies, potentially leading to the installation of harmful content that can be trusted by users and applications downstream.
Affected Version(s)
nltk/nltk <= unspecified
