CVE-2025-54864: NixOS hydra · Missing Authentication
Affects NixOS hydraSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
1. Immediate patching: Upgrade NixOS hydra to the version including commit f7bda02 or later, which implements proper authentication on the /api/push-github and /api/push-gitea endpoints. 2. Reverse proxy controls: Until patching is possible, configure reverse proxies or firewalls to block or restrict access to these API endpoints, allowing only trusted forge IP addresses or networks. 3. HMAC secret management: Ensure that HMAC secrets used for signing requests are securely generated, stored, and rotated regularly to prevent unauthorized use. 4. Monitoring and alerting: Implement monitoring on API usage patterns to detect unusual or excessive evaluation triggers that could indicate exploitation attempts. 5. Rate limiting: Apply rate limiting on the vulnerable endpoints to reduce the risk of resource exhaustion from repeated calls. 6. Access control review: Conduct a comprehensive review of authentication and authorization mechanisms across CI/CD infrastructure to prevent similar issues. 7. Incident response readiness: Prepare response plans for potential DoS incidents affecting CI services to minimize operational impact.
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.