PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-106440 hydra-ecosystem CVE debrief

CVE-2026-106440 is a vulnerability in the hydra-optuna-sweeper package that allows untrusted callables to be resolved and executed via the get_method API. This issue arises from the package's use of Hydra's object-lookup helpers, which intentionally trust their input and do not apply the execution policy used by instantiate() and logging configuration. As a result, an attacker could potentially execute arbitrary code with the privileges of the application if they have control over the Optuna sweep configuration or command-line overrides and an importable callable in the application's environment.

Vendor
hydra-ecosystem
Product
hydra-optuna-sweeper
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-07
Original CVE updated
2026-10-15
Advisory published
2026-10-07
Advisory updated
2026-10-15

Who should care

Defenders responsible for maintaining and securing applications that use the hydra-optuna-sweeper package should be aware of this vulnerability and take steps to verify the Optuna sweep configuration and command-line overrides, ensuring that only trusted callables are executed.

Why it matters

CVE-2026-106440 is a vulnerability in the hydra-optuna-sweeper package that allows untrusted callables to be resolved and executed via the get_method API, potentially leading to arbitrary code execution with the privileges of the application.

  • An attacker could potentially execute arbitrary code with the privileges of the application if they have control over the Optuna sweep configuration or command-line overrides and an importable callable in the application's environment.
  • The vulnerability allows untrusted Optuna multirun configuration to select installed Python code for execution in the Hydra controller process.
  • Defenders need to verify the Optuna sweep configuration and command-line overrides to ensure only trusted callables are executed.
  • Applying the security patch to update the hydra-optuna-sweeper package is necessary to resolve the issue.

Technical summary

The hydra-optuna-sweeper package is vulnerable to a security issue that allows untrusted callables to be resolved and executed via the get_method API. This is due to the package's use of Hydra's object-lookup helpers, which intentionally trust their input and do not apply the execution policy used by instantiate() and logging configuration. The vulnerability allows untrusted Optuna multirun configuration to select installed Python code for execution in the Hydra controller process, potentially leading to arbitrary code execution with the privileges of the application.

Defensive priority

Defenders should prioritize verifying the Optuna sweep configuration and command-line overrides, ensuring that only trusted callables are executed, and applying the security patch to update the hydra-optuna-sweeper package to a version that resolves the issue.

Recommended defensive actions

  • Verify the Optuna sweep configuration and command-line overrides to ensure only trusted callables are executed.
  • Apply the security patch to update the hydra-optuna-sweeper package to a version that resolves the issue.
  • Monitor the application's environment for any suspicious activity.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The vulnerability is caused by the hydra-optuna-sweeper package's use of Hydra's object-lookup helpers, which trust their input and do not apply the execution policy used by instantiate() and logging configuration. This allows untrusted Optuna multirun configuration to select installed Python code for execution in the Hydra controller process.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-106440 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-106440

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-106440 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-106440

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-5jjj-9xc3-rm56.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-5jjj-9xc3-rm56

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/hydra-ecosystem/hydra/commit/0dd18084589a3d3e577d1f1a8a48fb485c94a5e6

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/hydra-ecosystem/hydra/commit/4720dfca2bde27fa140ec287a05709668fbdf168

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/hydra-ecosystem/hydra

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.7

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.