Skip to main content

CVE-2026-106439: CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in hydra-ecosystem hydra

0
High
VulnerabilityCVE-2026-106439cvecve-2026-106439cwe-470cwe-693
Published: 10/06/2026 (10/06/2026, 18:49:12 UTC)
Source: CVE Database V5
Vendor/Project: hydra-ecosystem
Product: hydra

Description

Hydra is a framework for elegantly configuring complex applications. From 1.3.4 until 1.3.7 and 1.4.0.dev10, Hydra stores legacy instantiate target blocklists and related execution-policy collections in mutable module-level state. An attacker who controls multiple sibling target entries can resolve hydra._internal.target_policy.UNCONTROLLED_EXECUTION_TARGETS.discard through instantiate(), remove a denied target, and then invoke that target because sibling nodes are processed in insertion order against the same modified policy. The mutation persists in process-global state and can enable code execution with the application's privileges, while a narrow execution whitelist supplied by trusted Python code is not bypassed by the reported direct mutation path. This issue is fixed in versions 1.3.7 and 1.4.0.dev10.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

hydra-ecosystem

hydra

Affected versions
>=1.3.4 <1.3.7>=1.4.0.dev4 <1.4.0.dev10
hydra-ecosystem/hydra
pkg:pypi/hydra-ecosystem/hydra
Affected versions
>=1.3.4 <1.3.7>=1.4.0.dev4 <1.4.0.dev10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 19:18:26 UTC

Technical Analysis

Hydra versions >=1.3.4 <1.3.7 and >=1.4.0.dev4 <1.4.0.dev10 store legacy instantiate target blocklists and execution-policy collections in mutable module-level state. An attacker controlling multiple sibling target entries can mutate the global execution policy by removing denied targets via instantiate(), then invoke those targets because sibling nodes are processed in insertion order against the modified policy. This mutation persists in process-global state, enabling code execution with the application's privileges. The vulnerability is related to unsafe reflection (CWE-470) and improper input control (CWE-693). The issue is fixed in versions 1.3.7 and 1.4.0.dev10.

Potential Impact

Successful exploitation allows an attacker with control over multiple sibling target entries to bypass execution blocklists by mutating global execution policy state, leading to arbitrary code execution with the application's privileges. This can compromise the affected application and potentially the host system depending on the application's privilege level.

Mitigation Recommendations

Upgrade hydra to version 1.3.7 or later, or 1.4.0.dev10 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Patch status is confirmed fixed in these versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-06T16:49:40.590Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac546652cdf04f656d4a162

Added to database: 10/06/2026, 19:05:09 UTC

Last enriched: 10/06/2026, 19:18:26 UTC

Last updated: 10/06/2026, 20:04:26 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses