Intel

AIKIDO-2026-90594

hydra-core is vulnerable to Unsafe Reflection

Unsafe ReflectionGHSA-mwj6-rfh8-7qf4 Published 2 days ago

85

High Risk

This Affects:

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

TL;DR

Hydra's _locate() dotted-path resolver performs a plain getattr attribute walk that can reach mutation methods such as .discard() on the module level policy sets (DEFAULT_BLOCKLISTED_MODULES, UNCONTROLLED_EXECUTION_TARGETS) backing the default instantiate() execution blocklist. A configuration with multiple sibling _target_ entries, processed in insertion order, can first resolve and call a removal method on the shared policy set and then instantiate the now unblocked target, bypassing the legacy blocklist path used when an application has not supplied its own execution whitelist. The fix moves target resolution off the raw mutable sets and hardens the discovery, dispatch, introspection, alias, callable-result, and deferred-callable paths so name only authorization can no longer be undermined this way.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on Hydra's default instantiate() blocklist without supplying your own execution whitelist to authorize targets.

Background info

hydra-core is vulnerable to Unsafe Reflection in versions 1.3.4 - 1.3.6.

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