Skip to content

CVE-2026-68508 Hydra: hydra.utils.instantiate with untrusted config can lead to code execution

HighCVSS 7.8 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

Description

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.

Upgrade path

4 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhaii/vllm-cpu-rhel9:1790075793(Red Hat ai_inference_server 3.4 el9) All versions No fix listed No fix yet
redhat/rhaii/vllm-cuda-rhel9:1790090131(Red Hat ai_inference_server 3.4 el9) All versions No fix listed No fix yet
pypi hydra-core(PyPI) < 1.3.4; <= 1.3.3; = 0.1.4; = 0.1.5 +46 more 1.3.4 Fixed
facebookresearch hydra = < 1.3.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi hydra-core(PyPI) < 1.3.4 1.3.4
pypi hydra-core(PyPI) = 0.1.4 No fix listed
pypi hydra-core(PyPI) = 0.1.5 No fix listed
pypi hydra-core(PyPI) = 0.1.5rc1 No fix listed
pypi hydra-core(PyPI) = 0.10.0 No fix listed
pypi hydra-core(PyPI) = 0.11.0 No fix listed
pypi hydra-core(PyPI) = 0.11.0rc1 No fix listed
pypi hydra-core(PyPI) = 0.11.1 No fix listed
pypi hydra-core(PyPI) = 0.11.1rc1 No fix listed
pypi hydra-core(PyPI) = 0.11.2 No fix listed
pypi hydra-core(PyPI) = 0.11.2rc1 No fix listed
pypi hydra-core(PyPI) = 0.11.3 No fix listed
pypi hydra-core(PyPI) = 0.9.0 No fix listed
pypi hydra-core(PyPI) = 1.0.0 No fix listed
pypi hydra-core(PyPI) = 1.0.0rc1 No fix listed
pypi hydra-core(PyPI) = 1.0.0rc2 No fix listed
pypi hydra-core(PyPI) = 1.0.0rc3 No fix listed
pypi hydra-core(PyPI) = 1.0.0rc4 No fix listed
pypi hydra-core(PyPI) = 1.0.1 No fix listed
pypi hydra-core(PyPI) = 1.0.2 No fix listed
pypi hydra-core(PyPI) = 1.0.3 No fix listed
pypi hydra-core(PyPI) = 1.0.4 No fix listed
pypi hydra-core(PyPI) = 1.0.5 No fix listed
pypi hydra-core(PyPI) = 1.0.6 No fix listed
pypi hydra-core(PyPI) = 1.0.7 No fix listed
Show 28 more
ProductAffected versionsFixed in
pypi hydra-core(PyPI) = 1.1.0 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev1 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev2 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev3 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev4 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev5 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev6 No fix listed
pypi hydra-core(PyPI) = 1.1.0.dev7 No fix listed
pypi hydra-core(PyPI) = 1.1.0rc1 No fix listed
pypi hydra-core(PyPI) = 1.1.1 No fix listed
pypi hydra-core(PyPI) = 1.1.2 No fix listed
pypi hydra-core(PyPI) = 1.1.2.dev0 No fix listed
pypi hydra-core(PyPI) = 1.2.0 No fix listed
pypi hydra-core(PyPI) = 1.2.0.dev1 No fix listed
pypi hydra-core(PyPI) = 1.2.0.dev2 No fix listed
pypi hydra-core(PyPI) = 1.2.0.dev3 No fix listed
pypi hydra-core(PyPI) = 1.2.0.dev4 No fix listed
pypi hydra-core(PyPI) = 1.2.0.dev5 No fix listed
pypi hydra-core(PyPI) = 1.3.0 No fix listed
pypi hydra-core(PyPI) = 1.3.0.dev0 No fix listed
pypi hydra-core(PyPI) = 1.3.0.dev1 No fix listed
pypi hydra-core(PyPI) = 1.3.1 No fix listed
pypi hydra-core(PyPI) = 1.3.2 No fix listed
pypi hydra-core(PyPI) = 1.3.3 No fix listed
facebookresearch hydra = < 1.3.4 No fix listed
redhat/rhaii/vllm-cpu-rhel9:1790075793(Red Hat:ai_inference_server:3.4::el9) All versions No fix listed
redhat/rhaii/vllm-cuda-rhel9:1790090131(Red Hat:ai_inference_server:3.4::el9) All versions No fix listed
pypi hydra-core(PyPI) <= 1.3.3 No fix listed

References