CVE-2026-106440 json
Hydra: Optuna custom_search_space can resolve and execute untrusted callables via get_method
published last mo. modified 25d ago also GHSA-5jjj-9xc3-rm56 , PYSEC-2026-4224 , EUVD-2026-93661
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi hydra-optuna-sweeper 1.3.0, 1.4.0.dev10
Is CVE-2026-106440 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-106440 updated cvss 7.8
hydra-optuna-sweeper: hydra-optuna-sweeper: Arbitrary code execution via malicious sweep configuration
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | hydra-optuna-sweeper | >=1.2.0, <1.3.0 >=1.4.0.dev4, <1.4.0.dev10 |
1.3.0 1.4.0.dev10 |
Affected products
- hydra-ecosystem hydra
Classification
- Weakness
-
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
References
-
github.com
/hydra-ecosystem/hydra/commit/0dd18084589a3d3e577d1f1a8a48fb485c94a5e6
web
-
github.com
/hydra-ecosystem/hydra/commit/4720dfca2bde27fa140ec287a05709668fbdf168
web
-
github.com
/hydra-ecosystem/hydra/security/advisories/GHSA-5jjj-9xc3-rm56
web
-
github.com
/hydra-ecosystem/hydra/releases/tag/v1.3.7
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-106440
advisory
-
github.com
/hydra-ecosystem/hydra
package
-
pypi.org
/project/hydra-optuna-sweeper
package
-
github.com
/advisories/GHSA-5jjj-9xc3-rm56
advisory
Sources
- CVE List CVE-2026-106440
- GitHub Advisory GHSA-5jjj-9xc3-rm56
- NVD CVE-2026-106440
- OSV PYSEC-2026-4224
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.