Bug 2547595 - CVE-2026-106440 hydra: hydra-optuna-sweeper: Arbitrary code execution via malicious sweep configuration [fedora-all]
Summary: CVE-2026-106440 hydra: hydra-optuna-sweeper: Arbitrary code execution via mal...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: hydra
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Robby Callicotte
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b692d840-14fa-484d-9be5-1...
Depends On:
Blocks: CVE-2026-106440
TreeView+ depends on / blocked
 
Reported: 2026-10-07 17:08 UTC by Srikanth Balasubramanian
Modified: 2026-10-07 17:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-10-07 17:08:49 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.