{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0-beta.361"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e7306300b1a80dc89d314eef5ce3f54260a77721"
            }
          ],
          "repo": "https://github.com/coollabsio/coolify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-3w2c-jfr2-9pg9"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22609.json"
  },
  "details": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.361, the missing authorization allows any authenticated user to attach any existing private key on a coolify instance to his own server. If the server configuration of IP / domain, port (most likely 22) and user (root) matches with the victim's server configuration, then the attacker can use the `Terminal` feature and execute arbitrary commands on the victim's server. Version 4.0.0-beta.361 fixes the issue.",
  "id": "CVE-2025-22609",
  "modified": "2026-03-10T21:47:50.780702119Z",
  "published": "2025-01-24T16:30:34.465Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22609.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-3w2c-jfr2-9pg9"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22609"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coolify Vulnerable to Private Key Hijacking / Remote Command Execution (RCE)"
}