CVE-2025-32435: Hydra no restricted eval after nix-eval-jobs migration

2.6 CVSS

Description

Hydra is a Continuous Integration service for Nix based projects. Evaluation of untrusted non-flake nix code could potentially access secrets that are accessible by the hydra user/group. This should not affect the signing keys, that are owned by the hydra-queue-runner and hydra-www users respectively.

Classification

CVE ID: CVE-2025-32435

CVSS Base Severity: LOW

CVSS Base Score: 2.6

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N

Problem Types

CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Affected Products

Vendor: NixOS

Product: hydra

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.19% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-32435
https://github.com/NixOS/hydra/security/advisories/GHSA-j7w7-965w-vjxw
https://github.com/NixOS/nixpkgs/pull/397919
https://github.com/NixOS/hydra/commit/8d750265135b7e203520036a742afdf301b4013f
https://github.com/nix-community/nix-eval-jobs/releases/tag/v2.28.1

Timeline