Pre-disclosure announcement: Security Advisory for Hydra on August 12, 2025

The next tuesday, at 2025-08-12T10:00:00Z, the Hydra team will disclose security vulnerabilities.

This disclosure has been communicated to the Infra team and they will handle https://hydra.nixos.org accordingly.

Since some unrelated changes landed the last couple of weeks, I recommend the Nixpkgs Hydra maintainers to update to the latest published version so the actual security update is as small as possible. This update would include these potentially breaking changes:

CC @Mindavi as the Hydra maintainer in nixpkgs.

The mitigations for the vulnerabilities include various changes of note:

  • Additional verification of some data which could break existing setups
  • Now required configuration to use some optional features where no configuration was previously necessary
  • A huge code change to prevent similar issues in the future with great potential for slight oversights. While nothing was found during testing, please open issues in the Hydra repository when finding one of them

If you also happen to find security issues in Hydra, please be sure to contact the security team which will handle the report.

Special thanks go out to @msanft for reporting the vulnerabilties and @hexa for coordination with Infra and Security teams and @Mic92 for fixing one of the vulnerabilities.

13 Likes

Has 25.05 already been updated to mitigate issues?

The backport:

Update to current master:

5 Likes

Thanks Sandro for picking this up so quickly. I hope to give it some light testing tomorrow or the day after but I at least reviewed upstream diffs as well as I could and those all look good to me. Only thing I don’t know for sure is the machine info UI which seems tailored to the new queue runner.

2 Likes

Good thing our Hydra is inaccessible from the attendee network at DEF CON.

:sweat_smile:

1 Like

The codebase is supposed to handle that case and fall back to the old rendering when the old queue runner is in place.

CVE-2025-54800 (High, 7.1) and CVE-2025-54864 (Moderate, 6.9) are now disclosed.

6 Likes