Vulnerabilities

CVE-2026-12259

Medium 6.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-03
Last modified
2026-10-23
Assigned by
security@huntr.dev
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 1 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Nltk Nltk 3.9.4 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1072: Software Deployment Tools execution, lateral-movement
  • T1185: Browser Session Hijacking collection
  • T1195.001: Compromise Software Dependencies and Development Tools initial-access
  • T1195.002: Compromise Software Supply Chain initial-access

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities