Skip to main content
CVE-2026-71513VulnerabilityPublished Updated

NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle

Affects nltkSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.8 High : patch nltk soon.

Data as of 24 Nov 2026, 21:07 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10nltkpkg:deb/ubuntu/nltk?arch=source&distro=stonkingOther threatsAffected
  • 3.9.2-1 – 3.10.3-1
5 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 3.9.1-2 – 3.9.2-1ubuntu0.1~esm2
5 affected builds
Fixed in–
Ubuntu Pro 24.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =3.8.1-1
  • =3.8.1-1ubuntu0.1~esm1
  • =3.8.1-1ubuntu0.1~esm2
Fixed in–
Ubuntu Pro 22.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 3.5-1 – 3.7-1ubuntu0.1~esm2
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focalOther threatsAffected
  • 3.4.5-1 – 3.4.5-2ubuntu0.1~esm4
6 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 3.2.4-1 – 3.2.5-1ubuntu0.1+esm4
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade NLTK to version 3.10.3 or later, where this vulnerability is fixed. The patch corrects the validation logic in AllowlistUnpickler to properly restrict unpickling to safe callables. No other mitigations are specified or recommended.

Description

NLTK versions before 3.10.3 contain a remote code execution vulnerability in the AllowlistUnpickler component. The vulnerability arises because AllowlistUnpickler only validates the pickle module string but not the global name, enabling attackers to exploit attribute traversal to callables outside the allowlisted namespace. This allows crafted untrusted transition-parser models to execute arbitrary commands when loaded via TransitionParser.parse.

References

Community reviews

Loading reviews…