Vulnerability

CVE-2026-12259

mediumCVSS 3.1 6.5Published 3 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Nltk nltk

Weakness type

References

  • huntr.com /bounties/659ccf6d-12d4-4d4a-84c0-078633c35a5d

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning