7.8 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Hydra: hydra.utils.instantiate with untrusted config can lead to code execution
Hydra is a framework for elegantly configuring complex applications. Prior to 1.3.4, hydra.utils.instantiate() resolves and calls Python objects selected by configuration through _resolve_target() in hydra/_internal/instantiate/_instantiate2.py, allowing attacker-controlled target values and arguments to choose dangerous callables. A consuming application, library, CLI workflow, or model loader that passes untrusted configuration, CLI overrides, or model metadata into hydra.utils.instantiate() can therefore execute arbitrary code in its own process, including reading or modifying files and credentials or terminating the process. Version 1.3.4 adds target blocking with an explicit HYDRA_INSTANTIATE_ALLOWLIST_OVERRIDE escape hatch. This issue is fixed in version 1.3.4.
References
-
https://github.com/hydra-ecosystem/hydra/security/advisories/GHSA-2cp2-2r3c-7p7r x_refsource_CONFIRM
-
https://github.com/hydra-ecosystem/hydra/issues/3259 x_refsource_MISC
-
https://github.com/hydra-ecosystem/hydra/pull/3261 x_refsource_MISC
-
https://github.com/hydra-ecosystem/hydra/releases/tag/v1.3.4 x_refsource_MISC
Affected products
- ==< 1.3.4
Matching in nixpkgs
pkgs.hydra
Nix-based continuous build system
-
nixos-unstable 0-unstable-2026-03-16
- nixpkgs-unstable 0-unstable-2026-03-16
- nixos-unstable-small 0-unstable-2026-03-16
-
nixos-26.05 0-unstable-2026-03-13
- nixos-26.05-small 0-unstable-2026-03-13
- nixpkgs-26.05-darwin 0-unstable-2026-03-13
pkgs.hydra-cli
Client for the Hydra CI
-
nixos-unstable 0.3.0-unstable-2023-12-20
- nixpkgs-unstable 0.3.0-unstable-2023-12-20
- nixos-unstable-small 0.3.0-unstable-2023-12-20
-
nixos-26.05 0.3.0-unstable-2023-12-20
- nixos-26.05-small 0.3.0-unstable-2023-12-20
- nixpkgs-26.05-darwin 0.3.0-unstable-2023-12-20
pkgs.hydrasect
Tool that makes bisecting nixpkgs pleasant
-
nixos-unstable 0.1.0-unstable-2025-08-27
- nixpkgs-unstable 0.1.0-unstable-2025-08-27
- nixos-unstable-small 0.1.0-unstable-2025-08-27
-
nixos-26.05 0.1.0-unstable-2025-08-27
- nixos-26.05-small 0.1.0-unstable-2025-08-27
- nixpkgs-26.05-darwin 0.1.0-unstable-2025-08-27
pkgs.nzbhydra2
Usenet meta search
pkgs.ory-hydra
OpenID Certified™ OAuth 2.0 Server and OpenID Connect Provider
pkgs.thc-hydra
Very fast network logon cracker which support many different services
pkgs.dehydrated
Letsencrypt/acme client implemented as a shell-script
pkgs.hydrapaper
GNOME utility for setting different wallpapers on individual monitors
pkgs.hydra-check
Check hydra for the build status of a package
pkgs.hydralauncher
Game launcher with its own embedded bittorrent client
pkgs.hydraAntLogger
None
pkgs.hydra-ant-logger
None
pkgs.typstPackages.hydra
None
pkgs.idrisPackages.tlhydra
Idris parser and serializer/deserealizer for TL language
-
nixos-unstable 2017-13-26
- nixpkgs-unstable 2017-13-26
- nixos-unstable-small 2017-13-26
-
nixos-26.05 2017-13-26
- nixos-26.05-small 2017-13-26
- nixpkgs-26.05-darwin 2017-13-26
pkgs.terraform-providers.hydra
None
pkgs.typstPackages.hydra_0_1_0
None
pkgs.typstPackages.hydra_0_2_0
None
pkgs.typstPackages.hydra_0_3_0
None
pkgs.typstPackages.hydra_0_4_0
None
pkgs.typstPackages.hydra_0_5_0
None
pkgs.typstPackages.hydra_0_5_1
None
pkgs.typstPackages.hydra_0_5_2
None
pkgs.typstPackages.hydra_0_6_0
None
pkgs.typstPackages.hydra_0_6_1
None
pkgs.typstPackages.hydra_0_6_2
None
pkgs.python313Packages.hydra-core
Framework for configuring complex applications
pkgs.python313Packages.hydrawiser
Python library for Hydrawise API
pkgs.python314Packages.hydra-core
Framework for configuring complex applications
pkgs.python314Packages.hydrawiser
Python library for Hydrawise API
pkgs.gnomeExtensions.hydration-reminder
Reminder to drink water
pkgs.python313Packages.hydra-joblib-launcher
Hydra launcher supporting parallel execution based on Joblib.Parallel
Package maintainers
-
@pstn Philipp Steinpaß <philipp@xndr.de>
-
@honnip Jung seungwoo <me@honnip.page>
-
@helsinki-Jo Joachim Ernst <joachim.ernst@helsinki-systems.de>
-
@Conni2461 Simon Hauser <simon-hauser@outlook.com>
-
@Mindavi Rick van Schijndel <rol3517@gmail.com>
-
@dasJ Janne Heß <janne@hess.ooo>
-
@bryango Bryan Lai <bryanlais@gmail.com>
-
@Artturin Artturi N <artturin@artturin.com>
-
@makefu Felix Richter <makefu@syntax-fehler.de>
-
@doronbehar Doron Behar <me@doronbehar.com>
-
@nlewo Antoine Eiche <lewo@abesis.fr>
-
@Aleksanaa Aleksana QwQ <me@aleksana.moe>
-
@HeitorAugustoLN Heitor Augusto <nixpkgs.woven713@passmail.net>
-
@lachrymaLF lachrymaL <lachrymalfutura@gmail.com>
-
@KiaraGrouwstra kiara <cinereal@riseup.net>
-
@brainrake Marton Boros <martonboros@gmail.com>
-
@matteo-pacini Matteo Pacini <m@matteopacini.me>
-
@hesiod Tobias Markus <tobias@markus-regensburg.de>
-
@debtquity Darren Rambaud <d.nixpkgs@ryz.dev>
-
@bcdarwin Ben Darwin <bcdarwin@gmail.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>