CVE-2025-22612: Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE)

10.0 CVSS

Description

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.

Classification

CVE ID: CVE-2025-22612

CVSS Base Severity: CRITICAL

CVSS Base Score: 10.0

Affected Products

Vendor: coollabsio

Product: coolify

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.72% (scored less or equal to compared to others)

EPSS Date: 2025-02-21 (when was this score calculated)

References

https://github.com/coollabsio/coolify/security/advisories/GHSA-wg8x-cgq4-vjxj

Timeline