Cyber Posture

CVE-2025-22609

CriticalPublic PoC

Published: 24 January 2025

Published
24 January 2025
Modified
19 September 2025
KEV Added
Patch
CVSS Score 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0052 66.9th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

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)
CWE-862

Affected Products

coollabs
coolify
4.0.0 · ≤ 4.0.0

References