← VULNERABILITIES

CVE-2026-128135

NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root

High · 7.1Fix available
CVSS
7.1
EPSS
0.22% (p14)
Published
2026-11-19
Age
15d old
Modified
2026-11-24
Product
nltk nltk
Aliases
GHSA-wr3g-j6qj-xpgh

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

Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.

Fixed in

3.10.4

Affected packages

EcosystemPackageRangeFixed
PyPInltk>= 3.9.4, <= 3.10.33.10.4
PyPInltk>=3.9.4, <3.10.43.10.4

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON