Intel

AIKIDO-2026-529818

hydra-core is vulnerable to Code Injection

CVE-2026-68508Published Aug 6, 2026
August 6, 2026

78

CVE Score

High

Code Injection

Are you affected? Scan for Free

TL;DR

Hydra's hydra.utils.instantiate() resolves and calls Python objects named by the _target_ string in a configuration node. When a consuming application passes untrusted configuration into this function, it can lead to arbitrary code execution, allowing reading or modifying files, credentials, and application state. The fix adds a default blocklist of high-risk callables and modules and permits an explicit allowlist override.

How do I fix this?

Upgrade the hydra-core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted config to hydra.utils.instantiate().

Package

Versions

0.0.1 - 1.3.3

Fixed in 1.3.4

Background info

hydra-core is vulnerable to Code Injection in versions 0.0.1 - 1.3.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea