Vulnerability in Nltk
CVE-2026-12259
In nltk version 3.9.4, the `nltk.downloader.Downloader._download_package()` function writes downloaded package bytes to disk and may extract them before enforcing SHA-256 or MD5 checksum validation. This allows an attacker to tamper with the package response body for `info.url` through a compromised mirror, malicious proxy, or other source-substitution condition, leading to the installation of attacker-controlled package bytes. The vulnerability can result in malicious corpus or model content being trusted by downstream users or applications.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.001, 0.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nltk — versions 3.9.4
- Nltk Nltk/nltk — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/659ccf6d-12d4-4d4a-84c0-078633c35a5d (Permissions Required)