{"answers":{"affected":"5 open source packages ship an affected version, including hydra-core.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-106439 exists.","fix":"Upgrade hydra-core to a fixed version for your release line: 1.3.7 or 1.4.0.dev10.","what":"CVE-2026-106439 is a high-severity vulnerability in hydra-ecosystem hydra, published on 6 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-106439 and fix it if it is affected.\n\nWhat it is: CVE-2026-106439 is a high-severity vulnerability in hydra-ecosystem hydra, published on 6 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-106439 exists.\n\nAffected packages and fixed versions:\n- hydra-core (PyPI): affected from 1.3.4; fixed in 1.3.7, 1.4.0.dev10\n- hydra-core (PyPI): affected from 1.3.4; fixed in 1.3.7\n- hydra-core (PyPI): affected from 1.3.4; fixed in 1.3.7\n- hydra-core (PyPI): affected from 1.4.0.dev4; fixed in 1.4.0.dev10\n- hydra-core (PyPI): affected from 1.4.0.dev4; fixed in 1.4.0.dev10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-106439/ (Markdown: https://insights.sbomify.com/CVE-2026-106439/index.md)","id":"CVE-2026-106439","markdown":"https://insights.sbomify.com/CVE-2026-106439/index.md","name":"CVE-2026-106439","record":{"aliases":["GHSA-mwj6-rfh8-7qf4","PYSEC-2026-4222"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python configuration library","requires_auth":"none","summary":"Attackers can bypass execution policy blocklists in Hydra by mutating global state, enabling arbitrary code execution with application privileges.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Hydra: Mutable instantiate policy sets allow target blocklist bypass","id":"CVE-2026-106439","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":5,"n_references":4,"next":{"headline":"Hydra: Optuna custom_search_space can resolve and execute untrusted callables via get_method","id":"CVE-2026-106440"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.7","1.4.0.dev10"],"introduced":["1.3.4","1.4.0.dev4"],"last_affected":[],"package":"hydra-core","purl":"pkg:pypi/hydra-core","source":"PYSEC-2026-4222"},{"ecosystem":"PyPI","fixed":["1.3.7"],"introduced":["1.3.4"],"last_affected":[],"package":"hydra-core","purl":null,"source":"GHSA-mwj6-rfh8-7qf4"},{"ecosystem":"PyPI","fixed":["1.3.7"],"introduced":["1.3.4"],"last_affected":[],"package":"hydra-core","purl":"pkg:pypi/hydra-core","source":"GHSA-mwj6-rfh8-7qf4"},{"ecosystem":"PyPI","fixed":["1.4.0.dev10"],"introduced":["1.4.0.dev4"],"last_affected":[],"package":"hydra-core","purl":null,"source":"GHSA-mwj6-rfh8-7qf4"},{"ecosystem":"PyPI","fixed":["1.4.0.dev10"],"introduced":["1.4.0.dev4"],"last_affected":[],"package":"hydra-core","purl":"pkg:pypi/hydra-core","source":"GHSA-mwj6-rfh8-7qf4"}],"prev":{"headline":"Silent Decimal128 value corruption via incorrect exactness check in MongoDB C Driver","id":"CVE-2026-106438"},"products":["hydra"],"published":"2026-10-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-06","vendors":["hydra-ecosystem"]},"summary":"Attackers can bypass execution policy blocklists in Hydra by mutating global state, enabling arbitrary code execution with application privileges.","url":"https://insights.sbomify.com/CVE-2026-106439/"}