Skip to main content
VulnerabilityPublished Updated

CVE-2026-79657: NLTK · Allowlisted pickle loaders still permit code execution in current source

Affects gptlineSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.0.8_23 as a priority.

Data as of 25 Nov 2026, 14:04 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.2% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.8_23, 3.10.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  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), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade gptline to 1.0.8_23; nltk to 3.10.3.

Affected software

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8 <1.0.8_23
Fixed in
  • 1.0.8_23
PyPInltkpkg:pypi/nltkOther threatsAffected
  • <3.10.3
Fixed in
  • 3.10.3

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

AI-suggested

A patch is available that tightens the allowlist to exact (module, qualname) pairs instead of broad module namespaces. The patch also denies dangerous modules such as os, subprocess, builtins, and numpy.f2py even if they appear in allowed modules, providing a defense-in-depth backstop. Users should upgrade to version 3.10.3 or later where these fixes are implemented. Until patched, avoid loading untrusted pickle data with the affected NLTK loaders. The vendor advisory confirms the patch and recommends replacing broad allowlists with precise safe globals and modules.

Description

CVE-2026-79657 is a critical remote code execution vulnerability in the Natural Language Toolkit (NLTK) library's allowlisted pickle loaders. The vulnerability arises because the allowlist trusts entire module namespaces rather than specific safe globals, allowing crafted pickle payloads to invoke dangerous callables during deserialization. This affects functions such as nltk.picklesec.allowlisted_pickle_load, nltk.tokenize.punkt.punkt_pickle_load, and nltk.parse.transitionparser.TransitionParser.parse in versions before 3.10.3. The flaw permits attackers to execute arbitrary commands when loading attacker-controlled tokenizer or model artifacts, defeating the intended safety mechanism. A patch is available that tightens the allowlist to exact (module, qualname) pairs and denies dangerous modules, effectively blocking these exploits.

References

Community reviews

Loading reviews…