CVE-2025-22609
Published: 24 January 2025
Description
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.
Security Summary
CVE-2025-22609 is a critical missing authorization vulnerability (CWE-862) in Coolify, an open-source and self-hostable tool for managing servers, applications, and databases. Affecting versions prior to 4.0.0-beta.361, the flaw allows any authenticated user to attach any existing private key on a Coolify instance to their own server. The issue carries a CVSS v3.1 base score of 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) and was published on 2025-01-24.
An attacker with any level of authentication on the Coolify instance can exploit this by attaching a victim's private key to a server they control, provided the IP/domain, port (typically 22), and user (such as root) match the victim's server configuration. This enables the attacker to access the Terminal feature and execute arbitrary commands on the victim's server, potentially leading to full compromise.
The official GitHub Security Advisory (GHSA-3w2c-jfr2-9pg9) confirms that updating to version 4.0.0-beta.361 resolves the issue by implementing proper authorization checks. Security practitioners should prioritize patching affected Coolify instances and review access controls for authenticated users managing private keys and servers.
Details
- CWE(s)