CVE-2026-106441 Hydra logging configuration permits unsafe callable resolution
Attackers controlling Hydra logging configuration can invoke arbitrary importable classes, leading to code execution with application privileges.
- 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-106441?
CVE-2026-106441 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. Prior to 1.3.6 and 1.4.0.dev9, Hydra passes Python logging configuration to logging.config.dictConfig() without applying Hydra's target policy to handler class values or formatter, filter, handler, queue, and listener factories. An attacker who controls Hydra logging configuration can therefore select an importable class or factory and cause it to be invoked with the application's privileges, even in versions where instantiate() is protected because the logging path does not use instantiate(). This issue is fixed in versions 1.3.6 and 1.4.0.dev9.
Weakness: CWE-94
Which versions are affected by CVE-2026-106441?
5 open source packages ship an affected version, including hydra-core.
| Package | Affected | Fixed in |
|---|---|---|
hydra-core PyPI | All versions | 1.3.6, 1.4.0.dev9 |
hydra-core PyPI | All versions | 1.3.6 |
hydra-core PyPI | All versions | 1.3.6 |
hydra-core PyPI | From 1.4.0.dev0 | 1.4.0.dev9 |
hydra-core PyPI | From 1.4.0.dev0 | 1.4.0.dev9 |
How do I fix CVE-2026-106441?
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-106441 being exploited?
There is no known exploitation of CVE-2026-106441 in the wild and no public exploit code.
Sources
Also known as GHSA-c3wx-c55w-pxjq, PYSEC-2026-4221.