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.
References
| Link | Resource |
|---|---|
| https://huntr.com/bounties/659ccf6d-12d4-4d4a-84c0-078633c35a5d | Permissions Required |
Configurations
History
23 Oct 2026, 22:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
15 Oct 2026, 19:21
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://huntr.com/bounties/659ccf6d-12d4-4d4a-84c0-078633c35a5d - Permissions Required | |
| CPE | cpe:2.3:a:nltk:nltk:3.9.4:*:*:*:*:*:*:* | |
| First Time |
Nltk
Nltk nltk |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
Information
Published : 2026-08-03 08:17
Updated : 2026-10-23 22:10
NVD link : CVE-2026-12259
Mitre link : CVE-2026-12259
CVE.ORG link : CVE-2026-12259
JSON object : View
Products Affected
nltk
- nltk
CWE
CWE-494
Download of Code Without Integrity Check
