---
id: CVE-2026-68508
title: Hydra is a framework for elegantly configuring complex applications
summary: >-
  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/_instanti…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
  - CWE-470
vendor: hydra-core
product: hydra-core
affected:
  - hydra-core <= 1.3.3
patched:
  - hydra-core 1.3.4
published: '2026-08-21'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:06:39.057'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68508'
references:
  - url: >-
      https://github.com/hydra-ecosystem/hydra/commit/7faad0dcedfb4c0a364aa1067c0080fd6fdf8dca
    label: security-advisories@github.com
  - url: 'https://github.com/hydra-ecosystem/hydra/issues/3259'
    label: security-advisories@github.com
  - url: 'https://github.com/hydra-ecosystem/hydra/pull/3261'
    label: security-advisories@github.com
  - url: 'https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-2cp2-2r3c-7p7r
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-2cp2-2r3c-7p7r'
  - url: 'https://github.com/hydra-ecosystem/hydra'
  - url: 'https://pypi.org/project/hydra-core'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-68508'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68508.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-68508'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2521165'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-68508'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70965'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70979'
tags:
  - nvd
  - ghsa
  - pip
  - osv
  - csaf
  - vex
  - red-hat
epss: 0.00252
epssPercentile: 0.16968
aliases:
  - GHSA-2cp2-2r3c-7p7r
  - PYSEC-2026-3850
ecosystem: pip
ingestedAt: '2026-08-21T21:22:19.355Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-68508)

Affected packages:

- `hydra-core <= 1.3.3`

Patched in:

- `hydra-core 1.3.4`

Source: https://github.com/advisories/GHSA-2cp2-2r3c-7p7r

## Vendor advisories

- **RHSA-2026:70965** · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70965)
- **RHSA-2026:70979** · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70979)
