Skip to main content

Coolify CVE-2025-64420

HIGH
Insufficiently Protected Credentials (CWE-522)
2026-01-05 security-advisories@github.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege Coolify user
  2. Delivery
    Access UI/API exposing root private key
  3. Exploit
    Exfiltrate SSH private key
  4. Execution
    SSH to host authenticating as root
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 12, 2026 - 21:54 CVSS 9.9

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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Sep 30, 2026 - 23:09 vuln.today
v2 - CVSS changed
Severity Changed
Sep 30, 2026 - 22:23 NVD
CRITICAL HIGH
CVSS changed
Sep 30, 2026 - 22:23 NVD
9.9 (CRITICAL) 8.8 (HIGH)
PoC Detected
Jan 12, 2026 - 14:31 vuln.today
Public exploit code
CVE Published
Jan 05, 2026 - 20:16 nvd
CRITICAL 9.9

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 84% exploitable
Prevalence
Low
popular open-source self-hosted PaaS but niche production deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta100:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta101:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta102:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta103:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta104:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta105:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta106:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta107:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta108:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta109:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta110:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta111:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta112:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta113:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta114:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta115:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta116:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta117:*:*:*:*:*:*
cpe:2.3:a:coollabs:coolify:4.0.0:beta118:*:*:*:*:*:*
+ 405 more
CVE-2026-57498 CRITICAL POC
9.6 Jun 29

Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,

CVE-2025-34161 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo

CVE-2025-34159 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d

CVE-2025-64424 CRITICAL POC
9.4 Jan 05

Command injection in Coolify up to and including v4.0.0-beta.434 lets any authenticated low-privileged 'member' execute

CVE-2025-59156 CRITICAL POC
9.4 Jan 05

Remote code execution on the host OS is possible through Coolify's application deployment workflow prior to version 4.0.

CVE-2025-66211 CRITICAL POC
9.4 Dec 23

Authenticated command injection in Coolify's PostgreSQL initialization-script filename handling allows users with applic

CVE-2025-66210 CRITICAL POC
9.4 Dec 23

Coolify versions prior to 4.0.0-beta.451 pass user-supplied database names unsanitized into shell commands executed via

CVE-2025-66213 CRITICAL POC
9.4 Dec 23

Authenticated Coolify users who hold application or service management permissions can execute arbitrary commands as roo

CVE-2025-66212 CRITICAL POC
9.4 Dec 23

Authenticated command injection in Coolify before 4.0.0-beta.451 lets users with application or service management permi

CVE-2025-59158 CRITICAL POC
9.4 Jan 05

Stored cross-site scripting in Coolify versions up to and including v4.0.0-beta.420.6 lets an authenticated low-privileg

CVE-2026-34594 HIGH POC
8.8 Jun 29

Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss

CVE-2026-34597 HIGH POC
8.8 Jun 29

Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy