CVE-2026-128136

An NLTK dependency-parser model could read or create local files

NLTK project · Natural Language Toolkit · transition-parser model loader

First documented disclosure · Review checkpoint

Summary

A serialized dependency-parser model could invoke filesystem operations despite NLTK’s restricted loader.

Severity and exploitation evidence

Medium · 6.1/10 · CVSS 3.1. Severity source.

Exploitation not established: The NLTK advisory describes the vulnerability and its preconditions. The reviewed sources identify no malicious use.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The model loader allowed a family of numerical-library functions whose submodules could perform filesystem I/O.

Conditions required

An application opens an untrusted serialized dependency-parser model with the affected loader.

Potential impact

Loading the model could read or create files with the application’s filesystem privileges.

Affected versions and configurations

3.10.0 - 3.10.3

Fix and mitigation status

3.10.4.

Practical next steps

Upgrade to NLTK 3.10.4 or a later fixed release.

Operating lesson

Restrict model loading to verified sources and explicitly approved reconstruction functions.

Evidence and limits

The issue-specific patch was public by 2026-08-17. The fixed release shipped October 21. The November 15 maintainer advisory supplies the identifier and affected versions. This is a historical addition.

Sources