// Security Advisory Triage

Hydra Optuna sweeper executes untrusted callables via custom_search_space

GitHub advisories — pip · published 2026-10-08 13:34 UTC
ACTION NEEDED PATCH_NOW SECURITYAPI
WHAT CHANGEDGitHub published CVE-2026-106440 on 2026-10-07, rated high severity. The hydra-optuna-sweeper package resolves and executes untrusted callables through its custom_search_space feature via get_method. Patched versions are 1.3.0 and 1.4.0.dev10.
WHY IT MATTERSAn attacker who controls custom_search_space configuration can achieve arbitrary code execution in your hyperparameter tuning pipeline. This is exploitable wherever Hydra config files come from untrusted sources or are user-editable.
WHAT TO DOUpgrade hydra-optuna-sweeper to 1.3.0 or later if you are on a stable release, or to 1.4.0.dev10 if you are tracking development versions. If you cannot upgrade immediately, audit all custom_search_space configurations to ensure they reference only trusted, hardcoded callables.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-5jjj-9xc3-rm56
+summary: Hydra: Optuna custom_search_space can resolve and execute untrusted callables via get_method
+severity: high
+published_at: 2026-10-07T20:24:02Z
+cve_id: CVE-2026-106440
+vulnerabilities[].package.name: hydra-optuna-sweeper, hydra-optuna-sweeper
+vulnerabilities[].first_patched_version: 1.3.0, 1.4.0.dev10
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.78, needed 0.5
triage reasoningHigh-severity RCE in Hydra Optuna sweeper, a dependency in ML/data science workflows. Patched versions exist.
signalsnew advisory published · high severity rating · known CVE assigned · patched versions available · arbitrary code execution via untrusted callable resolution
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)