CVE-2026-106442: Hydra-core Target Blacklist Bypass Leading to Code Execution

hydra-core Updated 08 Oct 2026

Summary

07/10/2026
Yes i
High
7.8

CVE-2026-106442: Hydra instantiate target blacklist bypasses permit code execution. Affects hydra-core across 2 version ranges.

>= 1.3.4, < 1.3.6 >= 1.4.0.dev0, < 1.4.0.dev9

Fixed in 1.3.6 or 1.4.0.dev9, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Hydra-core is a popular open-source framework for elegantly configuring and managing complex applications in Python. It allows users to define configurations in a structured manner, enabling dynamic instantiation of components. However, its flexibility can lead to security vulnerabilities if not properly managed, particularly in how it handles untrusted configurations.

Vulnerability Detail

The vulnerability arises from an incomplete target blacklist in Hydra's instantiate() API, which allows attackers to execute arbitrary code by exploiting execution wrappers and deserialization methods. This can occur when an untrusted configuration is instantiated, leading to potential code execution with the application's privileges. The issue was identified as a bypass of the security measures introduced in CVE-2026-68508, making it critical for users to address.

How To Fix

Latest published version: 1.4.0.dev10 as of 23 Oct 2026

pip install --upgrade "hydra-core==1.4.0.dev10"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.3.4, < 1.3.6 1.3.6
    pip install --upgrade "hydra-core==1.3.6"
  • >= 1.4.0.dev0, < 1.4.0.dev9 1.4.0.dev9
    pip install --upgrade "hydra-core==1.4.0.dev9"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary measure, users of Hydra 1.3 should avoid instantiating configurations from untrusted sources. For those using Hydra 1.4 and later, it is recommended to constrain untrusted configurations with a narrow execution whitelist supplied by trusted Python code.

Conclusion

CVE-2026-106442 presents a significant security risk for users of the Hydra-core framework due to its potential for arbitrary code execution through untrusted configurations. It is crucial for users to upgrade to the patched versions to mitigate this risk effectively.

See every vulnerability recorded for hydra-core →

Share this vulnerability

FAQ

CVE-2026-106442 is a vulnerability in the Hydra-core framework that allows attackers to bypass target blacklists and execute arbitrary code through untrusted configurations.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The main risk is that an attacker could execute arbitrary code with the application's privileges, potentially leading to data breaches or system compromise.

If an immediate upgrade is not possible, avoid using untrusted configurations and consider implementing a temporary execution whitelist.

The CVSS score of this vulnerability is 7.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for hydra-core.

How To Fix

Latest published version: 1.4.0.dev10 as of 23 Oct 2026

pip install --upgrade "hydra-core==1.4.0.dev10"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 1.3.4, < 1.3.6 1.3.6
    pip install --upgrade "hydra-core==1.3.6"
  • >= 1.4.0.dev0, < 1.4.0.dev9 1.4.0.dev9
    pip install --upgrade "hydra-core==1.4.0.dev9"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback