Intel

AIKIDO-2026-498866

hydra-core is vulnerable to Code Injection

Code InjectionGHSA-rqx7-p7vv-w7hr Published Today

78

High Risk

This Affects:

PYTHONhydra-core
1.3.4 - 1.3.5
Fixed in 1.3.6
Are you affected? Scan for Free

TL;DR

Hydra's instantiate() API enforces a name-based blacklist to block dangerous targets in untrusted configurations. The blacklist is incomplete, so execution wrappers such as timeit.timeit, deserialization helpers like pickle.loads, and generic dispatch callables bypass the checks. Untrusted configuration can then trigger arbitrary code execution despite the blacklist. The fix hardens instantiate authorization against unsafe aliases and callable results.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted or externally influenced configuration to Hydra's instantiate API.

Background info

hydra-core is vulnerable to Code Injection in versions 1.3.4 - 1.3.5.

How to fix this

Upgrade the hydra-core library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform