kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • facebookresearch

    hydra

    해결 버전 있음

    영향 받는 버전

    • 1.3.4 미만

    해결 버전

    • 1.3.4 이상

참고 자료 5건

‹ 목록

점검 지원 범위 문의

도입 문의