CVE-2026-68508

Hydra is a framework for elegantly configuring complex applications. Prior to 1.3.4, hydra.utils.instantiate() resolves and calls Python objects selected by configuration through _resolve_target() in hydra/_internal/instantiate/_instantiate2.py, allowing attacker-controlled target values and arguments to choose dangerous callables. A consuming application, library, CLI workflow, or model loader that passes untrusted configuration, CLI overrides, or model metadata into hydra.utils.instantiate() can therefore execute arbitrary code in its own process, including reading or modifying files and credentials or terminating the process. Version 1.3.4 adds target blocking with an explicit HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE escape hatch. This issue is fixed in version 1.3.4.
Configurations

No configuration.

History

12 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) Hydra es un framework para configurar elegantemente aplicaciones complejas. Antes de la versión 1.3.4, hydra.utils.instantiate() resuelve y llama a objetos Python seleccionados por configuración a través de _resolve_target() en hydra/_internal/instantiate/_instantiate2.py, permitiendo que valores objetivo y argumentos controlados por el atacante elijan elementos invocables peligrosos. Una aplicación consumidora, biblioteca, flujo de trabajo CLI o cargador de modelos que pasa configuración no confiable, anulaciones de CLI o metadatos de modelo a hydra.utils.instantiate() puede, por lo tanto, ejecutar código arbitrario en su propio proceso, incluyendo la lectura o modificación de archivos y credenciales o la terminación del proceso. La versión 1.3.4 añade bloqueo de objetivos con una vía de escape explícita HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE. Este problema está solucionado en la versión 1.3.4.

Information

Published : 2026-08-21 21:17

Updated : 2026-10-12 16:10


NVD link : CVE-2026-68508

Mitre link : CVE-2026-68508

CVE.ORG link : CVE-2026-68508


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-470

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')