p PatchFirst

CVE-2026-68508

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 7.8 · Élevée · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: python

Produits et versions concernés

  • hydra

    Versions du logiciel
    • < 1.3.4: Concernée

    Aucun correctif publié

  • hydra-core PyPI

    Versions du logiciel
    • 0.1.4
    • 0.1.5
    • 0.1.5rc1
    • 0.10.0
    • 0.11.0
    • 0.11.0rc1
    • 0.11.1
    • 0.11.1rc1
    • 0.11.2
    • 0.11.2rc1
    • 0.11.3
    • 0.9.0
    • 1.0.0
    • 1.0.0rc1
    • 1.0.0rc2
    • 1.0.0rc3
    • 1.0.0rc4
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.1.0
    • 1.1.0.dev1
    • 1.1.0.dev2
    • 1.1.0.dev3
    • 1.1.0.dev4
    • 1.1.0.dev5
    • 1.1.0.dev6
    • 1.1.0.dev7
    • 1.1.0rc1
    • 1.1.1
    • 1.1.2
    • 1.1.2.dev0
    • 1.2.0
    • 1.2.0.dev1
    • 1.2.0.dev2
    • 1.2.0.dev3
    • 1.2.0.dev4
    • 1.2.0.dev5
    • 1.3.0
    • 1.3.0.dev0
    • 1.3.0.dev1
    • 1.3.1
    • 1.3.2
    • 1.3.3
    Plages de versions concernées
    • ECOSYSTEM: < 1.3.4

    Mettez à jour vers 1.3.4

Sources originales

Vérifiez votre serveur →