CVE-2025-22612CWE-200CWE-862

Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE)

Critical · published January 24, 2025

CVSS v3.1
10.0
EPSS
1%
Percentile
49.0
In the wild
Unconfirmed
What it is

🚨 Prior to version 4.0.0-beta.374, Coolify had a gaping security hole that allowed any authenticated user to snag private keys in plain text! Think of it like a restaurant where the kitchen staff can snoop through the vault for customer credit cards just because they have access to the dining room. They didn’t need a secret pass; they just walked right in! An attacker with access could potentially execute arbitrary commands on any matching server, leading to a nightmare of data breaches, system compromise, and complete control over the server’s operations. This could be absolutely devastating for businesses relying on Coolify for server management!

Put simply

Think of it like a restaurant where the kitchen staff can snoop through the vault for customer credit cards just because they have access to the dining room. They didn’t need a secret pass; they just walked right in! The vulnerability arises from a missing authorization check, allowing authenticated users to access sensitive information, specifically private keys, without proper restrictions. If the attacker’s server configuration aligns with the victim’s, they can execute arbitrary commands remotely.

What to do

An attacker with access could potentially execute arbitrary commands on any matching server, leading to a nightmare of data breaches, system compromise, and complete control over the server’s operations. This could be absolutely devastating for businesses relying on Coolify for server management! Immediately upgrade Coolify to version 4.0.0-beta.374 or later to patch this vulnerability. Additionally, review user roles and permissions to ensure no unnecessary access is granted to authenticated users. Regularly monitor server configurations to avoid alignment with potential attackers. You've got this! By taking swift action, you can secure your Coolify instance and keep your data safe! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00620 · 49.0th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-862 · Missing Authorization
Published
2025-01-24T16:43Z
EPSS history
Timeline
  • 24 JAN 16:43Z
    Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE)
    cvelistv5