Skip to content
Heist/ feed
Back to feed
HighFix available

Hydra instantiate target blacklist bypasses permit code execution

Type: advisorySources: OSV

## Summary Hydra's `instantiate()` API resolves and invokes Python callables named by the `_target_` field in configuration. The target blacklist introduced for CVE-2026-68508 was incomplete. Representative bypasses included execution wrappers such as `timeit.timeit`, executable deserialization through `pickle.loads`, and generic dispatch or wrapper targets that obscured the effective callable. Target aliases, callable-returning helpers, and deferred dispatch could similarly bypass name-based checks. An attacker who can cause an application to instantiate an untrusted Hydra configuration can use these gaps to execute code with the application's privileges. ## Fix Hydra 1.3.6 expands and hardens the blacklist used by the 1.3 compatibility line. It blocks the reported execution and deserialization surfaces, checks canonical callable identities and aliases, mediates callable results, and blocks generic dispatch and wrapper targets that bypass immediate target checks. The Hydra 1.3 blacklist is a best-effort, defense-in-depth measure. It is not a complete security boundary and does not make untrusted configuration safe to instantiate. Hydra 1.4.0.dev9 applies the same hardening and introduces the execution whitelist as the recommended primary security boundary. When a whitelist is supplied, targets are rejected unless trusted Python code authorizes them. If no whitelist is supplied, Hydra preserves legacy behavior with a deprecation warning and the blacklist as a best-effort comp

Products
hydra-core
Affected versions
1.3.4, 1.3.5, 1.4.0.dev1, 1.4.0.dev3, 1.4.0.dev4, 1.4.0.dev5, 1.4.0.dev6, 1.4.0.dev8
Fixed versions
1.3.6, 1.4.0.dev9
CVEs
CVE-2026-106442
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 18:15 UTC · Revision 1

Source evidence

Hydra instantiate target blacklist bypasses permit code execution

core-osv · Original source

Published 7 Oct 2026, 18:03 UTC

## Summary Hydra's `instantiate()` API resolves and invokes Python callables named by the `_target_` field in configuration. The target blacklist introduced for CVE-2026-68508 was incomplete. Representative bypasses included execution wrappers such as `timeit.timeit`, executable deserialization through `pickle.loads`, and generic dispatch or wrapper targets that obscured the effective callable. Target aliases, callable-returning helpers, and deferred dispatch could similarly bypass name-based checks. An attacker who can cause an application to instantiate an untrusted Hydra configuration can use these gaps to execute code with the application's privileges. ## Fix Hydra 1.3.6 expands and hardens the blacklist used by the 1.3 compatibility line. It blocks the reported execution and deserialization surfaces, checks canonical callable identities and aliases, mediates callable results, and blocks generic dispatch and wrapper targets that bypass immediate target checks. The Hydra 1.3 blacklist is a best-effort, defense-in-depth measure. It is not a complete security boundary and does not make untrusted configuration safe to instantiate. Hydra 1.4.0.dev9 applies the same hardening and introduces the execution whitelist as the recommended primary security boundary. When a whitelist is supplied, targets are rejected unless trusted Python code authorizes them. If no whitelist is supplied, Hydra preserves legacy behavior with a deprecation warning and the blacklist as a best-effort comp

osv:GHSA-rqx7-p7vv-w7hr

hydra-core

Fixed versions: 1.3.6

hydra-core

Fixed versions: 1.4.0.dev9

Complete source record
{
  "id": "bccff6c294ce72b824804762765be6445db223edb0a9cde2f8c384686976f9cc",
  "url": "https://osv.dev/vulnerability/GHSA-rqx7-p7vv-w7hr",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Hydra instantiate target blacklist bypasses permit code execution",
    "summary": "## Summary Hydra's `instantiate()` API resolves and invokes Python callables named by the `_target_` field in configuration. The target blacklist introduced for CVE-2026-68508 was incomplete. Representative bypasses included execution wrappers such as `timeit.timeit`, executable deserialization through `pickle.loads`, and generic dispatch or wrapper targets that obscured the effective callable. Target aliases, callable-returning helpers, and deferred dispatch could similarly bypass name-based checks. An attacker who can cause an application to instantiate an untrusted Hydra configuration can use these gaps to execute code with the application's privileges. ## Fix Hydra 1.3.6 expands and hardens the blacklist used by the 1.3 compatibility line. It blocks the reported execution and deserialization surfaces, checks canonical callable identities and aliases, mediates callable results, and blocks generic dispatch and wrapper targets that bypass immediate target checks. The Hydra 1.3 blacklist is a best-effort, defense-in-depth measure. It is not a complete security boundary and does not make untrusted configuration safe to instantiate. Hydra 1.4.0.dev9 applies the same hardening and introduces the execution whitelist as the recommended primary security boundary. When a whitelist is supplied, targets are rejected unless trusted Python code authorizes them. If no whitelist is supplied, Hydra preserves legacy behavior with a deprecation warning and the blacklist as a best-effort comp",
    "evidence": "osv:GHSA-rqx7-p7vv-w7hr",
    "products": [
      {
        "name": {
          "value": "hydra-core",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.3.6",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.3.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.5",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "hydra-core",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.4.0.dev9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.4.0.dev1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0.dev3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0.dev4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0.dev5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0.dev6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.0.dev8",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "GHSA-rqx7-p7vv-w7hr",
      "aliases": [
        "CVE-2026-106442",
        "GHSA-rqx7-p7vv-w7hr",
        "PYSEC-2026-4223"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "1.3.4"
                },
                {
                  "fixed": "1.3.6"
                }
              ]
            }
          ],
          "package": {
            "name": "hydra-core",
            "purl": "pkg:pypi/hydra-core",
            "ecosystem": "PyPI"
          },
          "versions": [
            "1.3.4",
            "1.3.5"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rqx7-p7vv-w7hr/GHSA-rqx7-p7vv-w7hr.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "1.4.0.dev0"
                },
                {
                  "fixed": "1.4.0.dev9"
                }
              ]
            }
          ],
          "package": {
            "name": "hydra-core",
            "purl": "pkg:pypi/hydra-core",
            "ecosystem": "PyPI"
          },
          "versions": [
            "1.4.0.dev1",
            "1.4.0.dev3",
            "1.4.0.dev4",
            "1.4.0.dev5",
            "1.4.0.dev6",
            "1.4.0.dev8"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-rqx7-p7vv-w7hr/GHSA-rqx7-p7vv-w7hr.json"
          }
        }
      ],
      "modified": "2026-10-15T14:55:41.619923213Z",
      "provider": "osv",
      "references": [
        "https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-rqx7-p7vv-w7hr",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-106442",
        "https://github.com/hydra-ecosystem/hydra/pull/3412",
        "https://github.com/hydra-ecosystem/hydra/pull/3413",
        "https://github.com/hydra-ecosystem/hydra/commit/2c82bbb3f39603b336cb852461739fdf7a38798a",
        "https://github.com/hydra-ecosystem/hydra/commit/f462811117b5ecfd2ed652ed52d6b4e3771bd943",
        "https://github.com/hydra-ecosystem/hydra",
        "https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.6"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-184"
        ],
        "severity": "HIGH",
        "github_reviewed": true,
        "nvd_published_at": "2026-10-06T19:18:13Z",
        "github_reviewed_at": "2026-10-07T18:03:49Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-106442",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 332676,
  "published_at": "2026-10-07T18:03:49+00:00"
}