Advisory record · GHSA-5jjj-9xc3-rm56

Hydra: Optuna custom_search_space can resolve and execute untrusted callables via get_method

CVSS 7.8 HighEPSS 0.0027 · 19th percentile

Published by the GitHub Advisory Database at 7 Oct 2026, 20:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
hydra-optuna-sweeperPyPI>=1.2.0, <1.3.0 || >=1.4.0.dev4, <1.4.0.dev101.3.0, 1.4.0.dev10
Identifiers
GHSA-5jjj-9xc3-rm56 · CVE-2026-106440 · PYSEC-2026-4224
Weakness (CWE)
CWE-470
Published
7 Oct 2026
Updated
15 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Hydra-optuna-sweeper versions >=1.2.0 and <1.3.0, and >=1.4.0.dev4 and <1.4.0.dev10, can resolve and run a callable named in the hydra.sweeper.custom_search_space setting. An attacker who controls the Optuna sweep configuration or command-line overrides, and can reach an importable callable in the application's environment, can run that code with the application's privileges. Upgrade to hydra-optuna-sweeper 1.3.0 or 1.4.0.dev10. Until then, treat sweep configuration and overrides as trusted and do not set custom_search_space from external input.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.8 High 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 19th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.