Deserialization of Untrusted Data in Natural Language Toolkit - CVE-2026-128136
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to read files and create or truncate files on the victim's system.
The vulnerability exists due to unsafe deserialization and an export-name-based denylist in NLTK's allowlisting unpickler when loading pickle data with NumPy allowed. A remote attacker can trick a victim into loading a crafted protocol 4 pickle that invokes numpy.lib._npyio_impl.recfromtxt or numpy.lib.format.open_memmap through REDUCE to read files or create or truncate files with a NumPy header.