Skip to main content

Coolify CVE-2025-59156

CRITICAL
OS Command Injection (CWE-78)
2026-01-05 security-advisories@github.com
9.4
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged member
  2. Delivery
    Create/update project with malicious Compose directive
  3. Exploit
    Mount host filesystem into service
  4. Execution
    Trigger deployment workflow
  5. Persist
    Execute commands as root on host
  6. Impact
    Full host compromise across containers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated low-privileged member/team account on a Coolify instance running a version prior to 4.0.0-beta.420.7 (PR:L). The concrete prerequisite is the ability to define or modify a service's Docker Compose configuration during project creation or update, where the deployment workflow does not neutralize attacker-supplied Compose directives - specifically volume/bind-mount directives that map the host filesystem into a container. No user interaction (UI:N) and no non-default feature toggle is required beyond normal deployment functionality. The primary limiting factor is that the attacker must already possess member-level access, so single-user or fully-trusted-team instances face lower practical risk than multi-tenant instances that grant project-creation rights to semi-trusted users.

Impact

This is a genuine high-priority issue, not merely a high-CVSS paper tiger. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes network-reachable, low-complexity exploitation requiring only a low-privileged Coolify member account, and the full CIA impact on both the vulnerable system (VC:H/VI:H/VA:H) and subsequent systems (SC:H/SI:H/SA:H) reflects a container-to-host escape that yields root on the underlying host OS. The scope-changing subsequent-system impact is well justified because the attacker breaks out of container isolation onto the host. Critically, a POC/exploit is flagged as publicly available and the advisory itself is tagged as an exploit reference, which materially raises real-world risk. The main tempering signals are EPSS (0.42%, 62th percentile - modest, indicating no observed mass-exploitation yet) and the absence of a CISA KEV listing, so exploitation is 'publicly available exploit code exists' rather than 'confirmed actively exploited.' The one meaningful gate is PR:L: the attacker must already hold a low-privileged member account on a multi-tenant Coolify instance, so exposure concentrates on instances that hand out member/team access to semi-trusted users. No signals conflict; CVSS network vector, description, and CWE-78 are mutually consistent.

Exploit ScenarioDerived

A low-privileged member of a shared Coolify instance creates or edits a project and supplies a malicious Docker Compose definition that mounts the host filesystem (e.g. a bind mount of '/' or '/etc') into a service. When Coolify deploys the application, the attacker-controlled service executes commands against the mounted host paths, escaping container isolation to run commands as root on the host OS. A public POC/exploit is available per the GitHub Security Advisory, lowering the skill barrier for this low-complexity, network-reachable attack.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Sep 30, 2026

Remote code execution on the host OS is possible through Coolify's application deployment workflow prior to version 4.0.0-beta.420.7, where an authenticated member-level user can inject malicious Docker Compose directives-such as bind mounts of the host filesystem-during project creation or updates. This bypasses container isolation and yields root-level command execution on the Coolify host. Publicly available exploit code exists, and while the EPSS score is modest at 0.42% (62nd percentile), the severity is high because exploitation requires only a low-privileged team account and no user interaction; a vendor patch is available.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 8.8

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.420.7, a Remote Code Execution (RCE)*vulnerability exists in Coolify's application deployment workflow. [CVSS 8.8 HIGH]

RemediationAI

Upgrade to Coolify 4.0.0-beta.420.7 or later; this version contains the patch per the GitHub security advisory GHSA-h5xw-7xvp-xrxr. If immediate upgrade is not possible, restrict the ability to create or modify projects and services to fully trusted administrators-this removes the member-level vector but reduces collaboration features. Administrative users should review existing Compose definitions for unexpected bind mounts of sensitive host paths (/, /etc, /var/run/docker.sock) and remove any unauthorized ones. Consider running Coolify's Docker daemon in rootless mode or applying AppArmor/SELinux profiles that deny containers access to host filesystem paths; these controls add operational complexity and may break legitimate workloads. Because exploitation requires an authenticated account, reducing the number of member accounts and enabling strong authentication limits exposure, but it does not replace patching.

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 (CoolLabs) is a self-hostable platform-as-a-service that orchestrates Docker containers on servers to deploy applications and databases. The flaw is rooted in CWE-78 (improper neutralization of special elements used in an OS command), because the deployment pipeline parses and executes user-supplied Docker Compose configuration without sanitizing directives. An attacker with member-level rights can supply a service definition containing a volumes directive that bind-mounts a host path (for example / or /var/run/docker.sock) into a container they control. Once the container runs, the attacker can read or write host files, modify systemd units or cron jobs, or interact with the Docker socket to launch privileged containers, resulting in root-level command execution on the host OS. The affected CPE entries identify Coolify 4.0.0 beta builds (beta100 through at least beta108) and unspecified earlier versions; the vendor fixed the issue in 4.0.0-beta.420.7. CVSS v4.0 rates the issue 9.4 with PR:L and scope changed, consistent with the independent CVSS 3.1 assessment of AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Know when Coolify gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.9 CRITICAL

Network-reachable, low-complexity attack needing only a low-privileged member account (PR:L); container-to-host escape changes scope (S:C) yielding full CIA compromise of the host.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/SI:H/SA:H

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

5
Analysis Updated
Sep 30, 2026 - 22:34 vuln.today
v2 - CVSS changed
Severity Changed
Sep 30, 2026 - 22:23 NVD
HIGH CRITICAL
CVSS changed
Sep 30, 2026 - 22:23 NVD
8.8 (HIGH) 9.4 (CRITICAL)
PoC Detected
Jan 12, 2026 - 15:03 vuln.today
Public exploit code
CVE Published
Jan 05, 2026 - 18:15 nvd
HIGH 8.8

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.420.7, a Remote Code Execution (RCE)*vulnerability exists in Coolify's application deployment workflow. This flaw allows a low-privileged member to inject arbitrary Docker Compose directives during project creation or updates. By defining a malicious service that mounts the host filesystem, an attacker can achieve root-level command execution on the host OS, completely bypassing container isolation. Version 4.0.0-beta.420.7 contains a patch for the issue.

Executive ViewAI

Why It Matters

Coolify installations running releases prior to 4.0.0-beta.420.7 are exposed to a critical remote code execution flaw that lets a low-privileged member account escape container isolation and obtain root control of the underlying host. Because Coolify typically sits on infrastructure hosting multiple applications, secrets, and deployment credentials, a successful compromise could cascade into broader environment and data exposure. Public exploit code is available, so any team running an affected release should treat this as an immediate operational risk rather than a theoretical one.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 38% exploitable
Prevalence
Medium
popular open-source self-hostable PaaS, common in self-hosting community not enterprise-ubiquitous
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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
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

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

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:*:*:*:*:*:*
+ 388 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-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

CVE-2025-59157 HIGH POC
8.8 Jan 05

Command injection in Coolify's Git Repository field during project creation allows an authenticated member account to ru

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