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

Low 2.6 Published Updated

Attackers can execute arbitrary code in Hydra to access secrets accessible by the hydra user, bypassing intended evaluation restrictions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-32435?

CVE-2025-32435 is a low-severity code injection vulnerability in NixOS hydra, published on 15 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-95

Which versions are affected by CVE-2025-32435?

It affects 1 product.

Products include Nixos Hydra.

How do I fix CVE-2025-32435?

No fix has been published for CVE-2025-32435 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-32435 being exploited?

There is no known exploitation of CVE-2025-32435 in the wild and no public exploit code.

Sources

Also known as GHSA-j7w7-965w-vjxw.

Is CVE-2025-32435 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free