CVE-2026-68508
Beschrijving NL
Hydra is een raamwerk voor het elegant configureren van complexe toepassingen. Voorafgaand aan 1.3.4 lost hydra.utils.instantiate() Python-objecten op die door configuratie zijn geselecteerd via _resolve_target() in hydra/_internal/instantiate/_instantiate2.py, waardoor aanvaller-gecontroleerde doelwaarden en argumenten gevaarlijke callables kunnen kiezen. Een verbruikende applicatie, bibliotheek, CLI-workflow of modellader die niet-vertrouwde configuratie, CLI-overrides of modelmetadata doorgeeft aan hydra.utils.instantiate () kan daarom willekeurige code in zijn eigen proces uitvoeren, inclusief het lezen of wijzigen van bestanden en referenties of het beëindigen van het proces. Versie 1.3.4 voegt doelblokkering toe met een expliciet HYDRA_Instantiate_ALLOWLIST_OVERRIDE ontsnappingsluik. Dit probleem is opgelost in versie 1.3.4.
Origineel (Engels) tonen
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.