CVE-2026-106442 Hydra instantiate target blacklist bypasses permit code execution

High 7.8 Published Updated

Attackers can bypass security blacklists in Hydra to execute arbitrary code via crafted configuration targets, requiring an upgrade to patched versions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-106442?

CVE-2026-106442 is a high-severity code injection vulnerability in hydra-ecosystem hydra, published on 6 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-184

Which versions are affected by CVE-2026-106442?

5 open source packages ship an affected version, including hydra-core.

PackageAffectedFixed in
hydra-core PyPIFrom 1.3.41.3.6, 1.4.0.dev9
hydra-core PyPIFrom 1.3.41.3.6
hydra-core PyPIFrom 1.3.41.3.6
hydra-core PyPIFrom 1.4.0.dev01.4.0.dev9
hydra-core PyPIFrom 1.4.0.dev01.4.0.dev9

How do I fix CVE-2026-106442?

Upgrade hydra-core to a fixed version for your release line: 1.3.6 or 1.4.0.dev9.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-106442 being exploited?

There is no known exploitation of CVE-2026-106442 in the wild and no public exploit code.

Sources

Also known as GHSA-rqx7-p7vv-w7hr, PYSEC-2026-4223.

Is CVE-2026-106442 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free