CVE-2025-54864 Details
Description
Hydra is a continuous integration service for Nix based projects. Prior to commit f7bda02, /api/push-github and /api/push-gitea are called by the corresponding forge without HTTP Basic authentication. Both forges do however feature HMAC signing with a secret key. Triggering an evaluation can be very taxing on the infrastructure when large evaluations are done, introducing potential denial of service attacks on the host running the evaluator. This issue has been patched by commit f7bda02. A workaround involves blocking /api/push-github and /api/push-gitea via a reverse proxy.
A vulnerability exists in NixOS Hydra's GitHub and Gitea webhook integration, allowing unauthorized requests to trigger evaluations without authentication. This issue, present in versions prior to f7bda02, can lead to excessive resource usage and potential denial-of-service conditions on the server. The vulnerability arises because the webhook endpoints do not require authentication, despite being called by the respective Git forges. Although these forges support HMAC signing with a secret key, the lack of verification allows anyone to initiate costly evaluations. This vulnerability has been addressed in version f7bda02, which implements signature verification for the GitHub and Gitea webhooks.
Update to Hydra version f7bda02 or later, and configure the webhook secrets in the 'hydra.conf' file. If an immediate update is not possible, block the '/api/push-github' and '/api/push-gitea' endpoints using a reverse proxy.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nixos hydra | < 2025-08-12 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 22, 2025 | Initial Analysis | [email protected] |
| Aug 12, 2025 | New CVE Received | [email protected] |