# CVE-2026-106439: Hydra: Mutable instantiate policy sets allow target blocklist bypass

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T18:49:12.110Z
- Modified: 2026-10-15T14:55:36.550Z
- Also known as: GHSA-mwj6-rfh8-7qf4, PYSEC-2026-4222
- Weaknesses: CWE-470, CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hydra-ecosystem hydra: >= 1.3.4, < 1.3.7; >= 1.4.0.dev4, < 1.4.0.dev10
- hydra-core (PyPI): from 1.3.4 before 1.3.7; from 1.4.0.dev4 before 1.4.0.dev10

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-mwj6-rfh8-7qf4> (exploit, web)
- <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://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)

## Sources

- CVE List: [CVE-2026-106439](https://www.cve.org/CVERecord?id=CVE-2026-106439), CVE Terms of Use, modified 2026-10-06
- GitHub Advisory Database: [GHSA-mwj6-rfh8-7qf4](https://github.com/advisories/GHSA-mwj6-rfh8-7qf4), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-106439](https://nvd.nist.gov/vuln/detail/CVE-2026-106439), Public domain, modified 2026-10-06
- PyPA Advisory Database: [PYSEC-2026-4222](https://osv.dev/vulnerability/PYSEC-2026-4222), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-106439 · Whole record: https://cve.day/CVE-2026-106439.json · Rebuilt by cve.day 2026-11-25T22:59:42.454Z
