Public vulnerability disclosure

CVE-2026-128135

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

publishedCWE-59CWE-73

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.

Technical severity7.1 highCVSS 3.1 · CNA: GitHub_M
Published2026-11-19Source updated 2026-11-24
Collected2026-11-245 attributed sources

Fixes and workarounds

Fix

nltk (pip): GitHub reports patched versions 3.10.4. Check the advisory for the affected release branch.

Source: GitHub GHSA-wr3g-j6qj-xpgh

Fix

nltk (PyPI): OSV reports a fixed version 3.10.4. Check the advisory for supported release branches.

Source: OSV GHSA-wr3g-j6qj-xpgh

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
nltk
nltk
>= 3.9.4, < 3.10.4 (affected) CNA: GitHub_M
nltk

nltk
pip
>= 3.9.4, <= 3.10.3 (affected, GitHub advisory range) GitHub GHSA-wr3g-j6qj-xpgh
nltk

nltk
PyPI
3.10.0 (affected, PyPI)
3.10.1 (affected, PyPI)
3.10.2 (affected, PyPI)
3.10.3 (affected, PyPI)
3.9.4 (affected, PyPI)
Ecosystem version events: introduced 3.9.4; fixed 3.10.4
Source events (ECOSYSTEM)
[
  {
    "introduced": "3.9.4"
  },
  {
    "fixed": "3.10.4"
  }
]

Other versions: unaffected
OSV GHSA-wr3g-j6qj-xpgh

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.1
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HCNA: GitHub_M
3.1 / 7.1
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HNVD: [email protected]

Exploit evidence

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide