Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply untrusted Hydra config to app
-
DeliverySet _target_ to execution/dispatch wrapper
-
ExploitBypass name-based blacklist authorization
-
Executioninstantiate() invokes effective callable
-
ImpactArbitrary code runs with app privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires the victim application to call Hydra's instantiate() on configuration that an attacker can influence, in affected versions 1.3.4 up to 1.3.6 (and the 1.4.0.dev line before 1.4.0.dev9). The attacker must be able to control the _target_ field (and arguments) of an instantiated config node and route it through an obscuring construct - an execution wrapper (e.g., timeit.timeit), deserialization (pickle.loads), an alias, a callable-returning helper, generic dispatch, or a deferred call - so the effective callable escapes the name-based blacklist. LIMITING FACTORS: this is not network-remote (AV:L) and depends on the application actually feeding untrusted/externally-sourced configuration into instantiate() (UI:R); applications that only instantiate trusted, developer-authored configs are not exposed, and the blocklist itself is explicitly documented as best-effort defense-in-depth rather than a complete boundary. |
| Impact | This is a genuine remote-code-execution-class flaw (CWE-184, Incomplete List of Disallowed Inputs) representing an incomplete fix for the earlier CVE-2026-68508 blacklist bypass, confirmed by vendor source-code evidence (commit diffs expanding the blocklist with CALLBACK_DISPATCH_TARGETS, CALLABLE_WRAPPER_TARGETS, and UNCONTROLLED_EXECUTION_TARGETS). The provided CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 7.8 HIGH) is internally consistent with the description: exploitation is not remote-network but requires the target application to instantiate attacker-supplied configuration (reflected in AV:L and UI:R), while impact is full compromise (C:H/I:H/A:H). The real-world priority is tempered by the attack precondition - an application must be designed or tricked into calling instantiate() on untrusted Hydra config - so this is primarily a supply-chain/untrusted-input risk rather than a mass-exploitable network service. KEY SIGNALS MISSING: no EPSS score, no SSVC decision data, and no CISA KEV entry were provided, so exploitation probability cannot be quantified; status is 'no public exploit identified at time of analysis'. Because this is the second iteration of a bypass of the same control, the blacklist should be treated as defense-in-depth only (the commit comments explicitly state it 'is not a complete security boundary'), and teams relying solely on the blocklist rather than avoiding untrusted config remain at risk. |
| Exploit ScenarioDerived | An application loads a Hydra configuration from an untrusted source (e.g., a user-submitted YAML, a shared experiment config, or a model artifact) and calls instantiate() on it. The attacker sets the _target_ to an execution wrapper such as timeit.timeit, a pickle.loads deferred call, or a callback dispatcher like functools.reduce that obscures the effective callable, bypassing the name-based blacklist and executing arbitrary code with the application's privileges. No public exploit code was identified at the time of analysis, though the technique is described concretely in the advisory and source diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Hydra 1.3.4 through 1.3.5 and the 1.4.0.dev line prior to 1.4.0.dev9 can execute attacker-chosen code when an application runs Hydra's instantiate() on configuration an attacker can influence, because the callable blacklist added for CVE-2026-68508 is name-based and can be sidestepped via wrappers, aliases, dispatch helpers, or deferred invocation. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, score 7.8) indicates no attacker privileges are required but a victim application must actually instantiate untrusted or externally sourced config, which is why user interaction is scored; the flaw is CWE-184 (Incomplete List of Disallowed Inputs) and is best understood as an incomplete fix rather than a new class of bug. There is no public exploit identified at time of analysis and the issue is not in CISA KEV, and vendor-released patches exist in Hydra 1.3.6 and 1.4.0.dev9. Applications that only ever instantiate developer-authored, trusted configuration are not exposed, and the vendor explicitly documents the blocklist as a best-effort defense-in-depth stopgap rather than a security boundary.
RemediationAI
Upgrade to the vendor-released fixed versions Hydra 1.3.6 or 1.4.0.dev9 (the advisory is GHSA-rqx7-p7vv-w7hr and the release tag is github.com/hydra-ecosystem/hydra/releases/tag/v1.3.6; the hardening commits are 2c82bbb3f39603b336cb852461739fdf7a38798a and f462811117b5ecfd2ed652ed52d6b4e3771bd943, delivered via PR 3412 and PR 3413). Because the vendor states the blocklist is best-effort defense-in-depth and not a complete security boundary, patching alone should be paired with an architectural control: never feed untrusted or externally sourced configuration into instantiate(), and instead validate every _target_ value against a strict application-owned allowlist before instantiation - the trade-off is reduced configuration flexibility, since new legitimate targets must be registered. Trusted operators who have already migrated to the patched code can broaden permitted operations with the HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE environment variable, but this deliberately cannot authorize the UNCONTROLLED_EXECUTION_TARGETS (eval/exec/compile/__import__, operator.*, ctypes loaders, type.__call__/__new__), so do not rely on it to make untrusted configs safe. Where untrusted config must be processed, run the configuration-loading and instantiation step in a least-privilege, network-restricted sandbox or separate low-privilege process or container so that any bypass executes with no useful filesystem, credential, or network reach - the trade-off is added deployment complexity and a smaller resource envelope. Blocking is not applicable at the network layer here because the vector is local (AV:L) and depends on the host application feeding configuration into instantiate(), so the effective compensating controls are input provenance and allowlisting, not port filtering.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hydra's instantiate() resolves a config node's _target_ string into a Python callable via import paths and then calls it with the supplied arguments; a name-based blacklist was introduced in response to CVE-2026-68508 to reject dangerous targets such as builtins.exec, builtins.eval, os.system, and ctypes loaders. This CVE (CWE-184) captures the fact that the check inspects the declared target name rather than the effective callable that ultimately executes, so constructs that obscure, wrap, or defer the real callable slip past it: execution wrappers like timeit.timeit, deserialization through pickle.loads, import aliases, helpers that return callables, generic dispatch (map/reduce/apply/submit, functools.singledispatch, operator.itemgetter/call/methodcaller), and deferred or bound-callable mechanisms such as types.FunctionType.__get__ and unittest.mock wrappers. The vendor's fix, visible in the referenced commit diffs to hydra/_internal/instantiate/_instantiate2.py, expands the blacklist into distinct categories - CALLBACK_DISPATCH_TARGETS (functools.reduce, itertools.starmap/accumulate/groupby, concurrent.futures and multiprocessing pool map/submit/apply variants), CALLABLE_WRAPPER_TARGETS (functools.partialmethod, cache/lru_cache, singledispatchmethod, builtins.classmethod/staticmethod, unittest.mock factories, descriptor __get__ bindings), and UNCONTROLLED_EXECUTION_TARGETS (eval/exec/compile/__import__, operator.*, ctypes loaders, type.__call__/__new__, _sitebuiltins._Helper) - and introduces an allowlist override (HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE) for trusted users that deliberately does not extend to the UNCONTROLLED_EXECUTION_TARGETS set, which cannot be authorized. The underlying technology is Python's dynamic import/dispatch surface, whose breadth is precisely why an enumeration-based blacklist remains an incomplete control against config-driven code execution.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attacker needs no privileges (PR:N) but the app must process attacker-influenced config (UI:R, AV:L); successful bypass yields full code execution, so C:H/I:H/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Hydra is a framework for elegantly configuring complex applications. From 1.3.4 until 1.3.6 and 1.4.0.dev9, the instantiate() target blacklist introduced for CVE-2026-68508 incompletely checks the effective callable selected by the target field. Execution wrappers such as timeit.timeit, executable deserialization through pickle.loads, aliases, callable-returning helpers, generic dispatch, and deferred calls can obscure or defer the effective target and bypass name-based authorization. An attacker who causes an application to instantiate untrusted Hydra configuration can use these gaps to execute code with the application's privileges. This issue is fixed in versions 1.3.6 and 1.4.0.dev9.
Articles & Coverage 1
Technical POC Analysis
Advisory: GHSA-rqx7-p7vv-w7hr.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Hydra versions 1.3.4 through 1.3.5 and the 1.4.0.dev line before 1.4.0.dev9 can execute attacker-chosen code when an application processes untrusted configuration through Hydra's instantiate() function. This creates a risk of full application or host compromise for teams that load externally sourced or user-influenced configurations, and leadership should prioritize patching because successful exploitation could lead to data theft, service disruption, and regulatory exposure. No public exploit has been identified at time of analysis, but the vulnerability is an incomplete fix that can be bypassed with common coding patterns.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-93665
GHSA-rqx7-p7vv-w7hr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB