Skip to main content

Hydra EUVDEUVD-2026-93664

| CVE-2026-106441 HIGH
Code Injection (CWE-94)
2026-10-06 security-advisories@github.com GHSA-c3wx-c55w-pxjq
7.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply attacker-controlled Hydra logging config
  2. Exploit
    Point handler/factory at importable callable
  3. Execution
    dictConfig imports and invokes callable
  4. Impact
    Execute code with application privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must control Hydra's logging configuration - specifically the values passed to logging.config.dictConfig() via hydra.hydra_logging, including handler class values or the formatter, filter, handler, queue, and listener factory entries - and set one of them to an importable class or factory. A victim must then execute the Hydra application with that configuration (UI:R), and the config must be delivered locally (AV:L), e.g., through a malicious config file, a command-line override, or a shared/untrusted config source. Critically, this is exploitable even in deployments that rely on Hydra's instantiate() target whitelist, because the logging path does not go through instantiate() and did not apply the target policy before the fix. Exploitation is LIMITED by the need for attacker influence over logging config and for the victim to actually run the app; it is mitigated by upgrading to 1.3.6 or 1.4.0.dev9, which apply the target whitelist to the logging path.

Impact

This is a code-injection flaw (CWE-94) in the Hydra Python configuration framework, rated CVSS 7.8 with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The signals are internally consistent: the vendor CVSS correctly models this as a LOCAL vector requiring user interaction (UI:R) rather than remote network exploitation, because the attacker must get control of the Hydra logging configuration and a victim must then run the application. No EPSS score, KEV listing, or SSVC decision data was provided in the input, so probabilistic exploitation likelihood cannot be quantified here. The exploitation status is 'no public exploit identified at time of analysis' - the input contains fix commits and a GHSA advisory but no proof-of-concept or active-exploitation evidence. The real-world priority is MODERATE and strongly context-dependent: it is only dangerous where logging configuration is attacker-influenceable (e.g., untrusted config overrides, shared config repositories, or user-supplied YAML). The notable nuance is that this path bypasses Hydra's instantiate() target-whitelist protection, so environments that believed they were protected by the target policy are NOT protected on the logging path - this elevates its importance for security-conscious deployments. Data gap: no EPSS/KEV/SSVC provided, so widespread opportunistic exploitation cannot be confirmed or ruled out from the input.

Exploit ScenarioDerived

An attacker who can supply or tamper with Hydra's logging configuration (a malicious config file, a YAML override, or a poisoned shared config) sets a handler class value or a formatter/filter/handler/queue/listener factory to an arbitrary importable callable. When a victim runs the Hydra application, logging.config.dictConfig() imports and invokes that attacker-chosen callable with the application's privileges, achieving code execution. No public proof-of-concept is identified in the provided data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Code injection in the Hydra configuration framework (all releases prior to 1.3.6 and 1.4.0.dev9) lets an attacker who controls the application's Hydra logging configuration name an arbitrary importable class or factory that Hydra will then import and invoke with the application's own privileges. Hydra routes logging settings to Python's logging.config.dictConfig() without applying its own target policy, so the handler 'class' values and the formatter, filter, handler, queue and listener factories are resolved and called directly - this bypasses the _target_whitelist_ protection that otherwise guards instantiate(), meaning even hardened deployments are exposed. The assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8): a local, unprivileged attacker must plant malicious logging configuration (a config file, an override, or a shared/untrusted config source) and the victim must then run the Hydra application, yielding high confidentiality, integrity and availability impact; no public exploit code has been identified at time of analysis and the flaw is not in CISA KEV, but exploitation only requires that the victim execute the tampered configuration.

RemediationAI

Vendor-released patch: upgrade to Hydra 1.3.6 or 1.4.0.dev9, which apply the target whitelist to the logging configuration path (see advisory GHSA-c3wx-c55w-pxjq; upstream fixes are the commits https://github.com/hydra-ecosystem/hydra/commit/76bfc30ce1f3105416941dd2e3a562568e369120 and https://github.com/hydra-ecosystem/hydra/commit/ff3e4dba890c29a21d8c2bb867ee87d37ccf21d0, tracked by pull request https://github.com/hydra-ecosystem/hydra/pull/3420). If an immediate upgrade is not possible, treat every hydra.hydra_logging document as executable code: refuse to load logging configuration from untrusted, shared or user-writable sources, and pin the config loader to a vetted repository that end users cannot override. Audit existing configs for 'class', '()' and formatter/filter/handler/queue/listener factory entries that name anything other than a small allowlist of known-safe logging handlers such as logging.StreamHandler or logging.FileHandler, and reject configs containing dotted paths outside that allowlist - the trade-off is that legitimate custom handlers and factories will stop loading, and because Hydra resolves these values itself before the fix there is no runtime interception point, so such filtering must be done by the harness that supplies the config, not by Hydra. Blocking command-line overrides of hydra/hydra_logging (for example by disabling the command-line config source or running with a locked-down config search path) reduces the attack surface but does not fix configs read from disk. Note that Hydra's pre-fix name-based blocklist is explicitly documented upstream as not being a security boundary, so relying on it is not an acceptable compensating control.

Affected VersionsENISA

hydra 1.4.0.dev0, < 1.4.0.dev9
hydra < 1.3.6

Affected Packages

pypi hydra-core fix: 1.3.6, 1.4.0.dev9
euvd hydra fix: 1.3.6
euvd hydra_1_4_0_dev0 fix: 1.4.0.dev9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Hydra is a Python framework for composing and configuring complex applications; its logging setup calls logging.config.dictConfig() with the user-supplied hydra.hydra_logging block. dictConfig is inherently a code-loading API: it imports dotted paths given in 'class' keys and calls any callable placed under the '()' factory key, and the same resolution applies to formatter, filter, handler, queue and listener factory entries. Hydra's own defense for configuration-driven object creation is the _target_whitelist_ / target policy enforced inside hydra._internal.instantiate, but the logging path never goes through instantiate(), so the policy was silently skipped and any importable name - including standard-library or third-party callables with side effects - could be resolved and invoked as the application. This is CWE-94 (improper control of generation of code / code injection) rather than a memory-safety issue: the attacker supplies data that the framework treats as code. The upstream fix hardens that path by threading target_whitelist through configure_log in hydra/_internal/core_plugins/basic_launcher.py, resolving the active whitelist via _get_active_target_whitelist() in hydra/_internal/hydra.py (run and multirun), and consolidating the previous best-effort DEFAULT_BLOCKLISTED_MODULES / callback-dispatch blocklist into a hydra/_internal/target_policy module that mediates target names, discovery paths, resolved identities and invocation for the logging configuration as well. The commit message's own commentary notes the legacy name-based blocklist was explicitly 'NOT a security boundary', confirming the whitelist mediation is the real control.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Config is supplied as data and executed when the victim runs the app, so AV:L/UI:R/PR:N; arbitrary code execution yields full C/I/A impact with no scope change.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 20:04 EUVD
CVE Published
Oct 06, 2026 - 19:18 cve.org
HIGH 7.8

DescriptionCVE.org

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.

Technical POC Analysis

Bug class: CWE-94 (Improper Control of Generation of Code / Code Injection).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Hydra, a widely used Python configuration framework, contains a high-severity code injection flaw that can let an unauthenticated local attacker execute code with the privileges of any application loading attacker-controlled logging configuration. The issue affects all releases prior to 1.3.6 and 1.4.0.dev9 and bypasses Hydra's existing target whitelist, so environments using shared, overridden, or untrusted Hydra configs face full confidentiality, integrity, and availability loss. No public exploit identified at time of analysis, and no vendor-released patch identified at time of analysis, making interim controls and monitoring critical for leadership attention.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict write access to Hydra config files, overrides, and shared/untrusted config sources; review and sanitize logging configuration class, formatter, filter, handler, queue, and listener factory values; run Hydra applications with least privilege; monitor for unexpected imports or process behavior; and avoid loading logging configuration from untrusted or shared sources until a patched release is confirmed available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
Popular Python ML/application config framework, common but not universally deployed
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy