Intel

AIKIDO-2026-460056

hydra-core is vulnerable to Code Injection

Code InjectionGHSA-c3wx-c55w-pxjq Published Today

78

High Risk

This Affects:

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

TL;DR

Hydra passes logging configuration to Python's logging.config.dictConfig() without applying its target authorization policy. Handler classes, formatters, filters, and factory callables named in a configuration are resolved and invoked outside the instantiate() safeguards. Configuration content that is externally influenced can therefore execute code with the application's privileges when the logging config is loaded. The fix routes logging callable resolution through Hydra's target blacklist so unsafe targets are rejected.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application loads externally influenced logging configuration.

Background info

hydra-core is vulnerable to Code Injection in versions 0.0.1 - 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