Vulnerability
CVE-2026-106442
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.
8 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-6p9j-ch7m-w259
- CGA-hmv8-h2mm-6j8f
- CGA-jxjp-m44p-22v8
- CGA-mmvm-49wj-v8c5
- CGA-p828-gqr4-2c34
- CGA-qj7m-mx39-qfqh
-
GHSA-rqx7-p7vv-w7hr
Hydra instantiate target blacklist bypasses permit code execution
-
PYSEC-2026-4223
Hydra instantiate target blacklist bypasses permit code execution
References
- https://github.com/hydra-ecosystem/hydra/commit/2c82bbb3f39603b336cb852461739fdf7a38798a
- https://github.com/hydra-ecosystem/hydra/commit/f462811117b5ecfd2ed652ed52d6b4e3771bd943
- https://github.com/hydra-ecosystem/hydra/pull/3412
- https://github.com/hydra-ecosystem/hydra/pull/3413
- https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.6
- https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-rqx7-p7vv-w7hr