CVE-2026-68508 json
Hydra: hydra.utils.instantiate with untrusted config can lead to code execution
published 2026-08-21 2 mo ago modified 2026-10-12 27 d ago also GHSA-2cp2-2r3c-7p7r , PYSEC-2026-3850 , EUVD-2026-64130
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi hydra-core 1.3.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-68508 updated cvss 7.8
hydra: Hydra: Arbitrary code execution via untrusted configuration
-
Red Hat AI Inference Server 3.4 rhaii/vllm-cpu-rhel9 1790075793, rhaii/vllm-cuda-rhel9 1790090131fixed: vendor fix RHSA-2026:70965
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | hydra-core | <1.3.4 |
1.3.4 |
Affected products
- facebookresearch hydra
Classification
References
-
github.com
/hydra-ecosystem/hydra/pull/3261
web
-
github.com
/hydra-ecosystem/hydra/commit/7faad0dcedfb4c0a364aa1067c0080fd6fdf8dca
web
-
github.com
/hydra-ecosystem/hydra/security/advisories/GHSA-2cp2-2r3c-7p7r
web
-
github.com
/hydra-ecosystem/hydra/issues/3259
web
-
github.com
/hydra-ecosystem/hydra/releases/tag/v1.3.4
web
-
github.com
/hydra-ecosystem/hydra
package
-
pypi.org
/project/hydra-core
package
-
github.com
/advisories/GHSA-2cp2-2r3c-7p7r
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-68508
advisory
Sources
- CVE List CVE-2026-68508
- GitHub Advisory GHSA-2cp2-2r3c-7p7r
- NVD CVE-2026-68508
- OSV PYSEC-2026-3850
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.