NLTK: AllowlistUnpickler does not deny numpy submodule-local file-I/O sinks (nltk nltk)

CVE-2026-128136
MEDIUM 6.1

At a glance

Source
NVD
EPSS
EPSS 0.35 % Β· percentile 31 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
Affected products
nltk Β· nltk
NVD status
Awaiting Analysis

Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, allowlisted_pickle_load keys dangerous NumPy globals by export name, allowing submodule-local numpy.lib file input/output callables to evade the denylist under the broad module allowance used by TransitionParser. A crafted pickle can invoke recfromtxt to read a local file or open_memmap to create or truncate an attacker-selected file when a victim loads an untrusted model. This issue is fixed in version 3.10.4.

Weaknesses (CWE)

  • CWE-502 β€” Deserialization of Untrusted Data

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NGitHub_M
CVSS 3.1MEDIUM 6.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NNVD Β· security-advisories@github.com (Secondary)

Advisories

European references

Affected products

ProductAffected versions
nltk Β· nltk
affected : >= 3.10.0, < 3.10.4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD