CVE-2026-71513
JSON

8.7high

NLTK 3.10.0 through 3.10.2 Remote Code Execution via AllowlistUnpickler Dotted-Name Bypass

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.79% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-5gh2-94qg-qppqPYSEC-2026-3867

Description

NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. Attackers can craft untrusted transition-parser models that execute arbitrary commands when TransitionParser.parse loads the model through allowlisted_pickle_load.

Affected

Product or packageVersionsReported by
nltk nltkfrom 3.10.0 before 3.10.3, before 3.10.3
Not affected: 3.10.3
CVE List, NVD
nltk (PyPI)from 3.10.0 before 3.10.3GitHub Advisory Database, PyPA Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. Attackers can craft untrusted transition-parser models that execute arbitrary commands when TransitionParser.parse loads the model through allowlisted_pickle_load.

NVD (es)

NLTK anterior a la versión 3.10.3 contiene una vulnerabilidad de ejecución remota de código en AllowlistUnpickler que valida solo la cadena del módulo pickle y no el nombre global, permitiendo a los atacantes resolver nombres con puntos mediante la transversalidad de atributos a elementos invocables fuera del espacio de nombres en la lista blanca. Los atacantes pueden crear modelos de analizador de transición no confiables que ejecutan comandos arbitrarios cuando TransitionParser.parse carga el modelo a través de allowlisted_pickle_load.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-71513 changed 2026-08-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-5gh2-94qg-qppq changed 2026-09-10CC-BY-4.0
NVDCVE-2026-71513 changed 2026-10-14Public domain
PyPA Advisory DatabasePYSEC-2026-3867 changed 2026-09-10CC-BY-4.0