← Terug naar overzicht

A critical arbitrary code execution vulnerability exists in the Hydra configuration framework prior to version 1.3.4. The flaw resides in hydra.utils.instantiate(), which resolves and calls Python objects via _resolve_target() based on configuration values. An attacker who can control configuration inputs, CLI overrides, or model metadata can force the instantiation of dangerous Python callables, leading to arbitrary code execution within the application process. Potential impacts include reading or modifying files, credential theft, and process termination. The vulnerability affects any application, library, CLI workflow, or model loader that passes untrusted input into hydra.utils.instantiate(). Version 1.3.4 mitigates the issue by introducing target blocking with an allowlist mechanism controlled by the HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE environment variable. Users are strongly advised to upgrade to version 1.3.4 immediately.

Affected products

  • Hydra (hydra-core) prior to 1.3.4

Related CVE's

  • CVE-2026-68508

Categories

  • Enterprise Applications
  • Supply Chain & Dependencies
  • Web Technologies