CVE-2025-22612 Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE)
Authenticated users can retrieve private keys due to missing authorization, enabling remote command execution on matching servers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-22612?
CVE-2025-22612 is a critical missing authorization vulnerability in coollabsio coolify, published on 24 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-22612?
It affects 1 product.
Products include Coollabs Coolify.
How do I fix CVE-2025-22612?
No fix has been published for CVE-2025-22612 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-22612 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-22612 exists.
Other vulnerabilities in coollabsio coolify
- CVE-2025-59157 Coolify has Git Repository RCE
- CVE-2025-64420 Coolify members can see private key of root user
- CVE-2025-66209 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Database Backup
- CVE-2025-22609 Coolify Vulnerable to Private Key Hijacking / Remote Command Execution (RCE)
- CVE-2025-22611 Coolify vulnerable to Privilege Escalation resulting in Remote Command Execution (RCE)
Sources
Also known as GHSA-wg8x-cgq4-vjxj.