Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-68508— Hydra: hydra.utils.instantiate with untrusted config can lead to code execution

Quick assessment

Affected
facebookresearch hydra
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hydra 是一个用于优雅配置复杂应用程序的框架。在版本 1.3.4 之前, 方法通过 中的 函数解析并调用由配置文件选定的 Python 对象。这使得攻击者能够利用其控制的 target 值及参数来选择并执行危险的 callable 对象。 因此,任何将不受信任的配置文件、命令行(CLI)覆盖参数或模型元数据传入 的应用程序、库、CLI 工作流或模型加载器,都可能在其自身进程中执行任意代码,包括读取或修改文件与凭据,甚至终止进程。 从版本 1.3.4 开始,引入了目标(target)拦截机制,并提供了一个显式的

CVSS 7.8 · High EPSS 0.25% · P17

Affected Version Matrix 1

VendorProduct Version RangeStatus
facebookresearch hydra < 1.3.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-68508

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Hydra: hydra.utils.instantiate with untrusted config can lead to code execution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
facebookresearch hydra < 1.3.4 -

II. Public POCs for CVE-2026-68508

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6013 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-68508

登录查看更多情报信息。

Patches & Fixes for CVE-2026-68508 (3)

Vendor Advisories for CVE-2026-68508 (1)

Vendor Pages for CVE-2026-68508 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-68508

No comments yet


Leave a comment