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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-106440— Hydra: Optuna custom_search_space can resolve and execute untrusted callables via get_method

Quick assessment

Affected
hydra-ecosystem hydra
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

以下是该漏洞描述信息的中文翻译: Hydra 是一个用于优雅配置复杂应用程序的框架。在 1.2.0 至 1.3.0 版本以及 1.4.0.dev10 开发版本中,hydra-optuna-sweeper 包允许通过配置控制 hydra.sweeper.custom_search_space 中的点分路径(dotted path),并使用 hydra.utils.get_method() 解析该路径,随后在 Hydra 控制器进程中调用返回的可执行对象。由于 get_method() 是一个信任输入查找辅助函数,并不

CVSS 7.8 · High

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 2

VendorProduct Version RangeStatus
hydra-ecosystem hydra >= 1.2.0, < 1.3.0 affected
>= 1.4.0.dev4, < 1.4.0.dev10 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-106440

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: Optuna custom_search_space can resolve and execute untrusted callables via get_method
Source: CVE Program / CVE List V5
Vulnerability Description
Hydra is a framework for elegantly configuring complex applications. From 1.2.0 until 1.3.0 and 1.4.0.dev10, the hydra-optuna-sweeper package accepts a configuration-controlled dotted path in hydra.sweeper.custom_search_space, resolves it with hydra.utils.get_method(), and later invokes the returned callable in the Hydra controller process. Because get_method() is a trusted-input lookup helper and does not apply the execution policy used by instantiate(), an attacker who controls Optuna sweep configuration or command-line overrides can select importable Python code for execution with the application's privileges, including bypassing a trusted execution whitelist on affected Hydra 1.4 development releases. This issue is fixed in versions 1.3.0 and 1.4.0.dev10.
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
hydra-ecosystem hydra >= 1.2.0, < 1.3.0 -

II. Public POCs for CVE-2026-106440

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-106440

请登录查看更多情报信息。

Other References for CVE-2026-106440 (4)

Same Patch Batch · hydra-ecosystem · 2026-10-06 · 4 CVEs total

CVE-2026-106439 8.5 HIGH Hydra: Mutable instantiate policy sets allow target blocklist bypass
CVE-2026-106442 7.8 HIGH Hydra instantiate target blacklist bypasses permit code execution
CVE-2026-106441 7.8 HIGH Hydra logging configuration permits unsafe callable resolution

IV. Related Vulnerabilities

V. Comments for CVE-2026-106440

No comments yet


Leave a comment