CVE-2025-22609 Coolify Vulnerable to Private Key Hijacking / Remote Command Execution (RCE)
Authenticated users can hijack private keys to execute arbitrary commands on other users' servers due to missing authorization checks.
- 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-22609?
CVE-2025-22609 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.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.
Weakness: CWE-862
Which versions are affected by CVE-2025-22609?
It affects 1 product.
Products include Coollabs Coolify.
How do I fix CVE-2025-22609?
No fix has been published for CVE-2025-22609 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-22609 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-22609 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-22611 Coolify vulnerable to Privilege Escalation resulting in Remote Command Execution (RCE)
- CVE-2025-22612 Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE)
Sources
Also known as GHSA-3w2c-jfr2-9pg9.