# CVE-2025-22612: Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE)

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-24T16:43:49.448Z
- Modified: 2026-06-17T08:48:42.253Z
- Weaknesses: CWE-200, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.374
- coollabs coolify: before 4.0.0; 4.0.0

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-wg8x-cgq4-vjxj> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-22612](https://www.cve.org/CVERecord?id=CVE-2025-22612), CVE Terms of Use, modified 2025-02-12
- NVD: [CVE-2025-22612](https://nvd.nist.gov/vuln/detail/CVE-2025-22612), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22612 · Whole record: https://cve.day/CVE-2025-22612.json · Rebuilt by cve.day 2026-11-25T22:58:53.562Z
