Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106441Hydra logging configuration permits unsafe callable resolution
High 7.8
In plain English
A high-severity code injection in hydra from hydra-ecosystem. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | hydra-core | 1.3.6 | GHSA-c3wx-c55w-pxjq |
| PyPI | hydra-core | 1.4.0.dev9 | GHSA-c3wx-c55w-pxjq |
| PyPI | hydra-core | 1.3.6, 1.4.0.dev9 | PYSEC-2026-4221 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| hydra-ecosystem | hydra | < 1.3.6>= 1.4.0.dev0, < 1.4.0.dev9 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-c3wx-c55w-pxjq x_refsource_CONFIRM
- https://github.com/hydra-ecosystem/hydra/pull/3420 x_refsource_MISC
- https://github.com/hydra-ecosystem/hydra/commit/76bfc30ce1f3105416941dd2e3a562568e369120 x_refsource_MISC
- https://github.com/hydra-ecosystem/hydra/commit/ff3e4dba890c29a21d8c2bb867ee87d37ccf21d0 x_refsource_MISC