CVE-2026-78680

NLTK versions before 3.10.3 fail to use validated absolute paths when invoking the Graphviz dot binary in dependencygraph.dot2img and AlignedSent._repr_svg_, allowing attackers to execute arbitrary code by placing a malicious dot binary in the search path or current working directory. Attackers can exploit bare-name binary resolution on Windows via the current working directory or on Unix-like systems via relative PATH entries to execute their binary instead of the legitimate Graphviz tool.
Configurations

No configuration.

History

12 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de NLTK anteriores a la 3.10.3 no utilizan rutas absolutas validadas al invocar el binario dot de Graphviz en dependencygraph.dot2img y AlignedSent._repr_svg_, permitiendo a los atacantes ejecutar código arbitrario al colocar un binario dot malicioso en la ruta de búsqueda o en el directorio de trabajo actual. Los atacantes pueden exploit la resolución de binarios por nombre simple en Windows a través del directorio de trabajo actual o en sistemas tipo Unix a través de entradas PATH relativas para ejecutar su binario en lugar de la herramienta legítima de Graphviz.

Information

Published : 2026-08-25 02:16

Updated : 2026-10-12 21:10


NVD link : CVE-2026-78680

Mitre link : CVE-2026-78680

CVE.ORG link : CVE-2026-78680


JSON object : View

Products Affected

No product.

CWE
CWE-426

Untrusted Search Path