{"answers":{"affected":"3 open source packages ship an affected version, including hydra-core.","exploited":"There is no known exploitation of CVE-2026-68508 in the wild and no public exploit code.","fix":"Upgrade hydra-core to 1.3.4 or later.","what":"CVE-2026-68508 is a high-severity code injection vulnerability in facebookresearch hydra, published on 21 Aug 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-68508 and fix it if it is affected.\n\nWhat it is: CVE-2026-68508 is a high-severity code injection vulnerability in facebookresearch hydra, published on 21 Aug 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: There is no known exploitation of CVE-2026-68508 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hydra-core (PyPI): affected all versions; fixed in 1.3.4\n- hydra-core (PyPI): affected all versions; fixed in 1.3.4\n- hydra-core (PyPI): affected all versions; fixed in 1.3.4\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-68508/ (Markdown: https://insights.sbomify.com/CVE-2026-68508/index.md)","id":"CVE-2026-68508","markdown":"https://insights.sbomify.com/CVE-2026-68508/index.md","name":"CVE-2026-68508","record":{"aliases":["GHSA-2cp2-2r3c-7p7r","PYSEC-2026-3850"],"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 execute arbitrary code by passing untrusted configuration to hydra.utils.instantiate, affecting applications using this Python library.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"description":"Hydra is a framework for elegantly configuring complex applications. Prior to 1.3.4, hydra.utils.instantiate() resolves and calls Python objects selected by configuration through _resolve_target() in hydra/_internal/instantiate/_instantiate2.py, allowing attacker-controlled target values and arguments to choose dangerous callables. A consuming application, library, CLI workflow, or model loader that passes untrusted configuration, CLI overrides, or model metadata into hydra.utils.instantiate() can therefore execute arbitrary code in its own process, including reading or modifying files and credentials or terminating the process. Version 1.3.4 adds target blocking with an explicit HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE escape hatch. This issue is fixed in version 1.3.4.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Hydra: hydra.utils.instantiate with untrusted config can lead to code execution","id":"CVE-2026-68508","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":5,"next":{"headline":"OpenEXR: Heap buffer overflow in PyOpenEXR from literal/prefixed RGB channel name collision","id":"CVE-2026-68513"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.4"],"introduced":["0"],"last_affected":[],"package":"hydra-core","purl":null,"source":"GHSA-2cp2-2r3c-7p7r"},{"ecosystem":"PyPI","fixed":["1.3.4"],"introduced":["0"],"last_affected":[],"package":"hydra-core","purl":"pkg:pypi/hydra-core","source":"GHSA-2cp2-2r3c-7p7r"},{"ecosystem":"PyPI","fixed":["1.3.4"],"introduced":["0"],"last_affected":[],"package":"hydra-core","purl":"pkg:pypi/hydra-core","source":"PYSEC-2026-3850"}],"prev":{"headline":"LazyOwn: Default C2 Operator Credentials Enable Administrative Access to C2 Dashboard","id":"CVE-2026-68503"},"products":["hydra"],"published":"2026-08-21","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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-21","vendors":["facebookresearch"]},"summary":"Attackers can execute arbitrary code by passing untrusted configuration to hydra.utils.instantiate, affecting applications using this Python library.","url":"https://insights.sbomify.com/CVE-2026-68508/"}