{"id":"CVE-2026-106439","published":"2026-10-06T18:49:12Z","modified":"2026-10-06T19:48:45Z","title":"Hydra: Mutable instantiate policy sets allow target blocklist bypass","vendor":"hydra-ecosystem","product":"hydra","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.40526,"provenance":"source"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"},{"id":"CWE-693","name":"Protection Mechanism Failure"}],"references":[{"url":"https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-mwj6-rfh8-7qf4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hydra-ecosystem/hydra/commit/0dd18084589a3d3e577d1f1a8a48fb485c94a5e6","tags":["x_refsource_MISC"]},{"url":"https://github.com/hydra-ecosystem/hydra/commit/4720dfca2bde27fa140ec287a05709668fbdf168","tags":["x_refsource_MISC"]},{"url":"https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.7","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.11},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"hydra-ecosystem","affectedVersions":[{"vendor":"hydra-ecosystem","product":"hydra","versions":[">= 1.3.4, < 1.3.7",">= 1.4.0.dev4, < 1.4.0.dev10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-06T19:48:26.207340Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"hydra-core","vulnerableRanges":[">=1.3.4, <1.3.7",">=1.4.0.dev4, <1.4.0.dev10"],"patched":["1.3.7","1.4.0.dev10"],"from":["GHSA-mwj6-rfh8-7qf4","PYSEC-2026-4222"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-93658","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hydra-ecosystem-hydra-cve-2026-106439","children":[{"from":"CVE-2026-106439","to":"CVE-2026-106441","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:hydra-core","fromFixed":"1.4.0.dev10","toFixed":"1.4.0.dev9","daysApart":0},{"kind":"same-code","provenance":"machine","files":[".flake8","hydra/_internal/hydra.py","hydra/_internal/instantiate/_instantiate2.py","hydra/_internal/logging_config.py","hydra/_internal/target_policy.py"],"commits":["https://github.com/hydra-ecosystem/hydra/commit/0dd18084589a3d3e577d1f1a8a48fb485c94a5e6","https://github.com/hydra-ecosystem/hydra/commit/4720dfca2bde27fa140ec287a05709668fbdf168","https://github.com/hydra-ecosystem/hydra/commit/76bfc30ce1f3105416941dd2e3a562568e369120","https://github.com/hydra-ecosystem/hydra/commit/ff3e4dba890c29a21d8c2bb867ee87d37ccf21d0"],"basis":"shared function","functions":["_resolve_target","run_job"]},{"kind":"similar","provenance":"machine","score":0.34,"basis":"same product + description similarity"}]},{"from":"CVE-2026-106439","to":"CVE-2026-106442","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:hydra-core","fromFixed":"1.4.0.dev10","toFixed":"1.4.0.dev9","daysApart":0},{"kind":"version-step","provenance":"source","package":"PyPI:hydra-core","fromFixed":"1.3.6","toFixed":"1.3.7","daysApart":0},{"kind":"same-code","provenance":"machine","files":["hydra/_internal/instantiate/_instantiate2.py","news/3411.bugfix"],"commits":["https://github.com/hydra-ecosystem/hydra/commit/0dd18084589a3d3e577d1f1a8a48fb485c94a5e6","https://github.com/hydra-ecosystem/hydra/commit/4720dfca2bde27fa140ec287a05709668fbdf168","https://github.com/hydra-ecosystem/hydra/commit/2c82bbb3f39603b336cb852461739fdf7a38798a","https://github.com/hydra-ecosystem/hydra/commit/f462811117b5ecfd2ed652ed52d6b4e3771bd943"],"basis":"shared function","functions":["_call_target","_resolve_target"]},{"kind":"similar","provenance":"machine","score":0.27,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-68508","published":"2026-08-21","fixed":"1.3.4","kev":false},{"cve":"CVE-2026-106439","published":"2026-10-06","fixed":"1.4.0.dev10","kev":false},{"cve":"CVE-2026-106441","published":"2026-10-06","fixed":"1.4.0.dev9","kev":false},{"cve":"CVE-2026-106442","published":"2026-10-06","fixed":"1.4.0.dev9","kev":false}],"package":"PyPI:hydra-core"}}