Skip to content
OpenAdvisories
High · 7.8 CVE-2026-106441 EUVD-2026-93664GHSA-c3wx-c55w-pxjqPYSEC-2026-4221

Hydra logging configuration permits unsafe callable resolution

Published Oct 6, 2026 · Updated Oct 7, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
hydra-ecosystem hydra < 1.3.6, >= 1.4.0.dev0, < 1.4.0.dev9 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI hydra-core < 1.3.6 1.3.6 GHSA-c3wx-c55w-pxjq
PyPI hydra-core >= 1.4.0.dev0, < 1.4.0.dev9 1.4.0.dev9 GHSA-c3wx-c55w-pxjq
PyPI hydra-core < 1.3.6 · >= 1.4.0.dev0, < 1.4.0.dev9 1.3.6, 1.4.0.dev9 PYSEC-2026-4221

References