Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-68508: CWE-94: Improper Control of Generation of Code ('Code Injection') in facebookresearch hydra

0
High
VulnerabilityCVE-2026-68508cvecve-2026-68508cwe-94cwe-470
Published: 08/21/2026 (08/21/2026, 20:09:26 UTC)
Source: CVE Database V5
Vendor/Project: facebookresearch
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

hydra-core
pkg:pypi/hydra-core
Affected versions
<1.3.4

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

AILast updated: 08/21/2026, 20:37:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses