Skip to content
Heist/ feed
Back to feed
High

Nix Hydra Missing authentication when triggering evaluations

Type: advisorySources: OSV

Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the "Evaluate jobset" button in the frontend.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45049
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:17 UTC · Revision 1

Source evidence

Nix Hydra Missing authentication when triggering evaluations

core-osv · Original source

Published 27 Aug 2024, 20:33 UTC

Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the "Evaluate jobset" button in the frontend.

osv:CVE-2024-45049
Complete source record
{
  "id": "8960853c23418eca89401ad5455199ad1225178a067c638ba3a70533c5b9d3ce",
  "url": "https://osv.dev/vulnerability/CVE-2024-45049",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nix Hydra Missing authentication when triggering evaluations",
    "summary": "Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication. Depending on the size of evaluations, this can impact the availability of systems. The problem can be fixed by applying https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5 to any Hydra package. Users are advised to upgrade. Users unable to upgrade should deny the `/api/push` route in a reverse proxy. This also breaks the \"Evaluate jobset\" button in the frontend.",
    "evidence": "osv:CVE-2024-45049",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-45049",
      "aliases": [
        "CVE-2024-45049",
        "GHSA-xv29-v93r-2f5v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nixos/hydra",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f73043378907c2c7e44f633ad764c8bdd1c947d5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "f73043378907c2c7e44f633ad764c8bdd1c947d5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f73043378907c2c7e44f633ad764c8bdd1c947d5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45049.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.629537011Z",
      "provider": "osv",
      "references": [
        "https://mastodon.delroth.net/@delroth/113029832631860419",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45049.json",
        "https://github.com/NixOS/hydra/security/advisories/GHSA-xv29-v93r-2f5v",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45049",
        "https://github.com/NixOS/hydra/commit/f73043378907c2c7e44f633ad764c8bdd1c947d5",
        "https://github.com/NixOS/nixpkgs/pull/337766"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-306"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45049.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45049",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489064,
  "published_at": "2024-08-27T20:33:01.326+00:00"
}