CVE-2026-71513

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*

History

14 Oct 2026, 19:10

Type Values Removed Values Added
Summary
  • (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.

16 Sep 2026, 13:19

Type Values Removed Values Added
First Time Nltk nltk
Nltk
CPE cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*
References () https://github.com/nltk/nltk - () https://github.com/nltk/nltk - Product
References () https://github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124 - () https://github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124 - Product
References () https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea - () https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea - Patch
References () https://www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dotted-name-bypass - () https://www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dotted-name-bypass - Third Party Advisory, Patch

Information

Published : 2026-08-22 14:16

Updated : 2026-10-14 19:10


NVD link : CVE-2026-71513

Mitre link : CVE-2026-71513

CVE.ORG link : CVE-2026-71513


JSON object : View

Products Affected

nltk

  • nltk
CWE
CWE-502

Deserialization of Untrusted Data