Medium severity5.3NVD Advisory· Published Aug 3, 2026· Updated Aug 31, 2026
CVE-2026-12259
CVE-2026-12259
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-5wp5-5229-5g6qghsaADVISORY
- github.com/nltk/nltk/commit/0e26734a61094b628d93e26dc18dd7302567ac46ghsa
- github.com/nltk/nltk/pull/3449ghsa
- github.com/nltk/nltk/releases/tag/3.9.3ghsa
- github.com/nltk/nltk/security/advisories/GHSA-5wp5-5229-5g6qghsa
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3729.yamlghsa
- huntr.com/bounties/659ccf6d-12d4-4d4a-84c0-078633c35a5dnvd
- nvd.nist.gov/vuln/detail/CVE-2026-12259ghsa
- www.vulncheck.com/advisories/nltk-before-missing-post-download-integrity-verificationghsa
News mentions
0No linked articles in our index yet.