Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-12259

nltk: nltk: Installation of attacker-controlled packages due to improper checksum validation

Overview

Published
3 Aug 2026
Modified
23 Oct 2026
Medium CVE
1 Registry packages
1 OS packages
2 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

6.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Weakness: CWE-494

Affected packages · 1

Packages affected by CVE-2026-12259
EcosystemPackageVulnerableFixed in
PyPI nltk <3.9.3 3.9.3

Open a package to see all its vulnerabilities.

Operating systems · 5 fixes

debian 4 releases · 1 package

affected 4
nltk
debian fixes for CVE-2026-12259
ReleasePackageFixed in
11 nltk affected
12 nltk affected
13 nltk affected
14 nltk affected

echo 1 release · 1 package

affected 1
nltk
echo fixes for CVE-2026-12259
ReleasePackageFixed in
nltk affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.