Security mailing lists by PureSourceCode

CVE-2026-12261

MEDIUM 6.5CVSS 3.1

NLTK downloader allows cross-package resource and model poisoning

A vulnerability in nltk.downloader in nltk/nltk versions <= 3.9.4 allows for cross-package resource and model poisoning. The downloader extracts package archives into shared namespaces such as corpora/ and taggers/ instead of package-isolated roots, and validates package integrity only after the archive has been written and extracted. This design flaw enables one package to overwrite another package's trusted resources within the same namespace, making the changes immediately active through ordinary NLTK APIs. This issue persists across fresh interpreter restarts and can affect downstream workflows, including machine learning pipelines and reproducibility-sensitive environments.

Published
7 Aug 2026
Last modified
23 Oct 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-284
Also known as
GHSA-ffj6-66c4-86gwPYSEC-2026-3954
Sources
NVDJSONOSV GHSA-ffj6-66c4-86gwJSONOSV PYSEC-2026-3954JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.0 MEDIUM 5.3 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nltk nltk
cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
<= 3.9.4
OSV PyPI nltk < 3.10.0 3.10.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 7 Aug 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.