{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0-beta.374"
              },
              {
                "fixed": "4.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3eefd7c36c9dde2888c56e8622f1fb601dd2c8d7"
            }
          ],
          "repo": "https://github.com/coollabsio/coolify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wg8x-cgq4-vjxj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-200",
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22612.json"
  },
  "details": "Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.374, the missing authorization allows an authenticated user to retrieve any existing private keys on a coolify instance in plain text. 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 execute arbitrary commands on the remote server. Version 4.0.0-beta.374 fixes the issue.",
  "id": "CVE-2025-22612",
  "modified": "2026-08-12T03:51:48.555558608Z",
  "published": "2025-01-24T16:43:49.448Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22612.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-wg8x-cgq4-vjxj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22612"
    }
  ],
  "schema_version": "1.9.0",
  "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 Enumeration on Onboarding resulting in Remote Command Execution (RCE)"
}