CVE-2025-22612
JSON

10.0critical

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

Severity
10.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.62% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
coollabsio coolify< 4.0.0-beta.374CVE List
coollabs coolifybefore 4.0.0, 4.0.0NVD

Classification

CWE-200CWE-862

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Coolify es una herramienta de código abierto y autoalojable para administrar servidores, aplicaciones y bases de datos. Antes de la versión 4.0.0-beta.374, la falta de autorización permitía a un usuario autenticado recuperar cualquier clave privada existente en una instancia de Coolify en texto plano. Si la configuración del servidor de IP/dominio, puerto (probablemente 22) y usuario (superusuario) coincide con la configuración del servidor de la víctima, entonces el atacante puede ejecutar comandos arbitrarios en el servidor remoto. La versión 4.0.0-beta.374 soluciona el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-22612 changed 2025-02-12CVE Terms of Use
NVDCVE-2025-22612 changed 2026-06-17Public domain