CVE-2026-106439
HIGH 8.5CVSS 4.0Hydra: Mutable instantiate policy sets allow target blocklist bypass
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.
- Published
- 6 Oct 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-470CWE-693
- Also known as
- GHSA-mwj6-rfh8-7qf4PYSEC-2026-4222
- Sources
- NVDJSONOSV GHSA-mwj6-rfh8-7qf4JSONOSV PYSEC-2026-4222JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.5 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | hydra-core | >= 1.3.4, < 1.3.7 | 1.3.7 |
| OSV | PyPI | hydra-core | >= 1.4.0.dev4, < 1.4.0.dev10 | 1.4.0.dev10 |
| OSV | PyPI | hydra-core | >= 1.3.4, < 1.3.7; >= 1.4.0.dev4, < 1.4.0.dev10 | 1.3.7, 1.4.0.dev10 |
References
- https://github.com/hydra-ecosystem/hydra/commit/0dd18084589a3d3e577d1f1a8a48fb485c94a5e6 · WEB
- https://github.com/hydra-ecosystem/hydra/commit/4720dfca2bde27fa140ec287a05709668fbdf168 · WEB
- https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.7 · WEB
- https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-mwj6-rfh8-7qf4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-106439 · ADVISORY
- https://github.com/hydra-ecosystem/hydra · PACKAGE
- https://pypi.org/project/hydra-core · PACKAGE
- https://github.com/advisories/GHSA-mwj6-rfh8-7qf4 · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Oct 2026)