Intel

AIKIDO-2026-832513

nltk is vulnerable to Remote Code Execution (RCE)

Remote Code Execution (RCE)CVE-2026-78683 Published Aug 26, 2026

93

Critical Risk

This Affects:

PYTHONnltk
3.0.2 - 3.9.4
Fixed in 3.10.0
Are you affected? Scan for Free

TL;DR

TransitionParser.parse loads model files through pickle_load with the default restricted=False, which routes deserialization through WarningUnpickler and does not restrict class resolution. An attacker who can supply a crafted model path therefore executes arbitrary Python during unpickling. NLTK already ships a safe unpickler path, but production call sites did not use it. The fix loads models through an allowlisted unpickler so gadget payloads are refused.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application loads TransitionParser models from paths an attacker can influence.

Background info

nltk is vulnerable to Remote Code Execution (RCE) in versions 3.0.2 - 3.9.4.

How to fix this

Upgrade the nltk library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform