Coolify
CVE-2025-64420
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Coolify user
-
DeliveryAccess UI/API exposing root private key
-
ExploitExfiltrate SSH private key
-
ExecutionSSH to host authenticating as root
-
ImpactFull control of server and managed workloads
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | Requires an existing authenticated low-privilege user account on the target Coolify instance (PR:L). Given such an account, no further user interaction, special protocol, or non-default configuration is documented - the root user's private SSH key is exposed to low-privilege users on affected builds (all releases up to and including v4.0.0-beta.434). The realistic risk is concentrated in multi-user or multi-tenant Coolify deployments where untrusted or lower-trust users are granted accounts; single-operator installations with no additional low-privilege users have effectively no exposed attacker population. Escalation to root additionally requires network reachability of the host's SSH service from the attacker. |
| Impact | The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) is credible and well-supported: a low-privileged, already-authenticated Coolify user can read the root user's private SSH key from the instance, which converts a limited application account into full root SSH access on the underlying host - a genuine C:H/I:H/A:H outcome. The exploitation signals, however, temper urgency: EPSS is only 0.05% (16th percentile) and there is no CISA KEV listing, so there is no evidence of active or widespread exploitation. A POC is flagged as publicly available, but the sole reference is the GitHub Security Advisory (GHSA-qwxj-qch7-whpc) itself, which typically documents the flaw rather than shipping turnkey exploit code - treat 'POC available' as weak/advisory-grade rather than a weaponized public exploit. The critical limiting factor is PR:L: the attacker must first hold a valid low-privilege Coolify account, so this is primarily an insider/tenant-escalation and post-compromise risk rather than an internet-wide unauthenticated threat. Net: legitimately high technical impact (application user → host root) but low real-world exploitation pressure today, and gated behind existing authenticated access - a priority for multi-tenant/shared Coolify deployments, lower for single-operator installs. |
| Exploit ScenarioDerived | An organization runs a shared Coolify instance where several developers hold low-privilege accounts. One such user navigates to the area exposing the root user's SSH private key, copies it, and uses it to SSH into the host as root - gaining complete control of the server and every application, database, and secret it manages. A GitHub Security Advisory documents the flaw (weak/advisory-grade POC); no weaponized public exploit is confirmed, and the attacker must already possess a low-privilege account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
Coolify instances running v4.0.0-beta.434 or earlier expose the root user's private SSH key to any authenticated low-privilege user, turning a limited application account into full root access on the underlying host (C:H/I:H/A:H, CVSS 8.8). The vulnerable path requires an existing low-privilege Coolify account (PR:L per the vector) and then yields the root SSH key with no further interaction, though escalating to root also requires network reachability of the host's SSH service. Publicly available exploit code exists and the EPSS score is low (0.05%, 16th percentile), and as of publication it is unclear whether a vendor patch is available, so multi-user or multi-tenant Coolify deployments are the primary risk population while single-operator installations with no additional low-privilege users have effectively no exposed attacker population.
Earlier versions of this analysis (1)
Coolify leaks the root SSH private key to low-privileged users, enabling complete infrastructure compromise.
RemediationAI
As of publication it is unclear whether Coolify has released a patched version, and no fixed version is identified in available data, so the primary action is to track the vendor advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-qwxj-qch7-whpc for a corrected build and upgrade immediately once one is published. Until then, apply compensating controls that reduce exposure: rotate the root SSH private keys stored in Coolify and on managed hosts (breaking any automation until new keys are distributed), remove root key material from Coolify where possible in favor of non-root keys with limited sudo rules, set PermitRootLogin to prohibit key-based root login on managed hosts (accepting that Coolify provisioning flows relying on the root key will fail), restrict SSH (port 22) reachability from Coolify users and their networks to trusted administrative ranges (accepting that legitimate remote administration paths must be re-homed through a bastion), and audit/remove low-privilege Coolify accounts in multi-user or multi-tenant deployments since any such account is the documented prerequisite for exploitation. Because public exploit code exists, monitoring for anomalous root SSH authentications and reviewing Coolify key-access endpoints for unauthorized reads is warranted while the patch status remains unresolved.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Coolify is a self-hostable control plane for managing servers, applications, and databases, which by design stores SSH credentials used to provision and control managed hosts. CVE-2025-64420 is a CWE-522 (Insufficiently Protected Credentials) flaw: the root user's private SSH key is retrievable by low-privilege accounts, meaning the credential is not adequately scoped or protected against unauthorized read access within the platform. CPE data confirms the affected package as coollabs:coolify across the 4.0.0 beta line, including explicit builds beta100 through beta108 and the wildcard coollabs:coolify entry, all of which fall within the described range of releases prior to and including v4.0.0-beta.434. The root cause class is a missing or insufficient authorization/access-control check on key material rather than a memory-safety or injection issue; the disclosed key is a long-lived host credential, so exposure is not limited to the Coolify application boundary and directly enables host-level authentication as root.
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Authenticated low-privilege user (PR:L) over the network reads the root SSH key with no user interaction, yielding full host root and thus complete C/I/A impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. In Coolify versions prior to and including v4.0.0-beta.434, low privileged users are able to see the private key of the root user on the Coolify instance. This allows them to ssh to the server and authenticate as root user, using the private key. As of time of publication, it is unclear if a patch is available.
Executive ViewAI
Coolify deployments at or below v4.0.0-beta.434 can leak the host's root SSH private key to any authenticated low-privilege account holder, effectively converting a limited application user into a full root compromise of the underlying server. The risk is concentrated in multi-user or multi-tenant Coolify instances where non-administrative accounts exist; single-operator installations have little to no exposed attacker population. Leadership should care because a single compromised or malicious low-privilege account could yield complete control of production hosts, with no vendor patch identified at time of analysis.
No vendor-released patch identified at time of analysis. Interim mitigations: rotate root SSH private keys and all host credentials exposed to Coolify; restrict host SSH (port 22) to trusted management networks via firewall/network ACLs; disable or tightly scope low-privilege and multi-tenant Coolify accounts; segment affected hosts; monitor for anomalous SSH key access and unexpected root logins; keep Coolify on a single trusted operator until a fixed release is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,
Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo
Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d
Command injection in Coolify up to and including v4.0.0-beta.434 lets any authenticated low-privileged 'member' execute
Remote code execution on the host OS is possible through Coolify's application deployment workflow prior to version 4.0.
Authenticated command injection in Coolify's PostgreSQL initialization-script filename handling allows users with applic
Coolify versions prior to 4.0.0-beta.451 pass user-supplied database names unsanitized into shell commands executed via
Authenticated Coolify users who hold application or service management permissions can execute arbitrary commands as roo
Authenticated command injection in Coolify before 4.0.0-beta.451 lets users with application or service management permi
Stored cross-site scripting in Coolify versions up to and including v4.0.0-beta.420.6 lets an authenticated low-privileg
Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss
Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica
NVD
CVE.org
EPSS
GitHub
Exploit-DB