CVE-2026-68508: CWE-94: Improper Control of Generation of Code ('Code Injection') in facebookresearch hydra
CVE-2026-68508 is a code injection vulnerability in the facebookresearch hydra framework prior to version 1.3.4. The vulnerability arises from hydra.utils.instantiate() resolving and calling Python objects based on attacker-controlled configuration, allowing arbitrary code execution. This can lead to reading or modifying files, credentials, or terminating the process. The issue is fixed in version 1.3.4 by adding target blocking with an explicit allowlist override.
AI Analysis
Technical Summary
Hydra is a configuration framework that prior to version 1.3.4 used hydra.utils.instantiate() to resolve and call Python objects specified by configuration through _resolve_target(). This allowed attacker-controlled target values and arguments to select dangerous callables, enabling arbitrary code execution within the process. Applications passing untrusted configuration, CLI overrides, or model metadata into instantiate() are vulnerable. Version 1.3.4 mitigates this by implementing target blocking with an explicit HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE escape hatch.
Potential Impact
An attacker able to influence configuration or CLI overrides passed to hydra.utils.instantiate() can execute arbitrary code in the affected process. This includes reading or modifying files and credentials or terminating the process, resulting in high confidentiality, integrity, and availability impact.
Mitigation Recommendations
Upgrade to facebookresearch hydra version 1.3.4 or later, where this vulnerability is fixed by adding target blocking with an explicit allowlist override. Patch status is confirmed fixed in 1.3.4. No other mitigations are indicated.
CVE-2026-68508: CWE-94: Improper Control of Generation of Code ('Code Injection') in facebookresearch hydra
Description
CVE-2026-68508 is a code injection vulnerability in the facebookresearch hydra framework prior to version 1.3.4. The vulnerability arises from hydra.utils.instantiate() resolving and calling Python objects based on attacker-controlled configuration, allowing arbitrary code execution. This can lead to reading or modifying files, credentials, or terminating the process. The issue is fixed in version 1.3.4 by adding target blocking with an explicit allowlist override.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Hydra is a configuration framework that prior to version 1.3.4 used hydra.utils.instantiate() to resolve and call Python objects specified by configuration through _resolve_target(). This allowed attacker-controlled target values and arguments to select dangerous callables, enabling arbitrary code execution within the process. Applications passing untrusted configuration, CLI overrides, or model metadata into instantiate() are vulnerable. Version 1.3.4 mitigates this by implementing target blocking with an explicit HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE escape hatch.
Potential Impact
An attacker able to influence configuration or CLI overrides passed to hydra.utils.instantiate() can execute arbitrary code in the affected process. This includes reading or modifying files and credentials or terminating the process, resulting in high confidentiality, integrity, and availability impact.
Mitigation Recommendations
Upgrade to facebookresearch hydra version 1.3.4 or later, where this vulnerability is fixed by adding target blocking with an explicit allowlist override. Patch status is confirmed fixed in 1.3.4. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-30T16:19:08.081Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a88b3a2acd9273b49af19fc
Added to database: 08/21/2026, 20:22:58 UTC
Last enriched: 08/21/2026, 20:37:04 UTC
Last updated: 08/21/2026, 21:32:31 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.