CVE-2026-78683: NLTK · Unsafe Pickle Deserialization in TransitionParser Allows Remote Code Execution
Affects gptlineSource GCVE Database
Not known to be exploited · CVSS 9.6 Critical : upgrade to 1.0.8_22 as a priority.
Data as of 22 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.8_22
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 22 Nov 2026.
What to do
Upgrade gptline to 1.0.8_22.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptlinepkg:brew/gptlineOther threats | Affected
| Fixed in
|
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 and should be applied. The fix involves changing all pickle_load() calls in NLTK parsing modules to use restricted=True, which invokes RestrictedUnpickler and blocks unsafe deserialization. Users should upgrade to NLTK version 3.10.0 or later where this fix is implemented. No additional mitigations are required if the patched version is used.
Description
The NLTK library's TransitionParser.parse() method insecurely deserializes model files using pickle without restricting class resolution, allowing remote code execution (RCE) via malicious pickle files. Although NLTK provides a RestrictedUnpickler for safe deserialization, it is not used in production code paths, leaving versions up to 3.9.4 vulnerable. This vulnerability enables attackers to execute arbitrary code with the privileges of the user running the application. The issue is fixed in NLTK version 3.10.0 and later by enforcing restricted unpickling.
References
- github.com/nltk/nltk/security/advisories/GHSA-rhp5-r9x4-f5g2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-78683 (opens in a new tab)
- vulncheck.com/advisories/nltk-before-remote-code-execution-via-unsafe-pickle-deserialization (opens in a new tab)
- github.com/nltk/nltk/pull/3631 (opens in a new tab)
- github.com/nltk/nltk/commit/f26b3753038d937b68145daf15e9636f8451053c (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.0 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3734.yaml (opens in a new tab)