Skip to main content

Coolify CVE-2025-66212

CRITICAL
OS Command Injection (CWE-78)
2025-12-23 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 with service-management permissions
  2. Delivery
    Craft proxy config filename with shell metacharacters
  3. Exploit
    Filename concatenated into shell command unescaped
  4. Execution
    Injected command executes as root
  5. Impact
    Full compromise of managed server

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

Requires an authenticated Coolify user who holds application/service management permissions (PR:L) - read-only users and fully unauthenticated attackers cannot exploit it directly. The specific prerequisite is reaching the Dynamic Proxy Configuration Filename handling code path and supplying a filename containing shell metacharacters, which is then passed into a shell command without escaping. No user interaction or non-default configuration is needed once such an account exists; all versions prior to 4.0.0-beta.451 (including the 4.0.0-beta100 through beta108 builds and earlier) are affected. The practical limiting factor is the trust model: the risk is concentrated in multi-user or shared Coolify deployments where lower-privilege operators are granted service-management roles, or where such an account is phished/compromised.

Impact

Signals are moderately consistent but point to a conditional rather than mass-exploitable threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with full vulnerable- and subsequent-system impact (VC/VI/VA/SC/SI/SA all High) yields 9.4, reflecting that a successful attacker gains root RCE on managed servers - a severe technical impact. However, PR:L is the critical limiter: this is an authenticated flaw requiring an account that already holds application/service management permissions, so it is a privilege-escalation/post-authentication path, not a drive-by remote takeover. EPSS is low at 0.20% (41st percentile) and the CVE is NOT in CISA KEV, indicating no evidence of widespread active exploitation despite the high CVSS. Publicly available exploit code exists (the 0xrakan repository), which raises operational risk for internet-exposed, multi-user Coolify instances, but POC availability is distinct from active exploitation. Net: a genuine high priority for organizations running shared/multi-tenant Coolify where lower-trust users hold service-management roles, but the authentication precondition and low EPSS argue against treating it as an unauthenticated internet-wide emergency. Note a discrepancy to verify: the description names 'Dynamic Proxy Configuration Filename handling' as the sink, while the provided patch diff shows escaping added to database-name and init-script-filename handling - see confidence notes.

Exploit ScenarioDerived

An attacker who has, or has compromised, a Coolify account with application/service management permissions crafts a proxy configuration filename containing shell metacharacters. Because the filename is concatenated into a shell command without escaping, the injected payload executes as root on the managed server. Publicly available exploit code (the 0xrakan GitHub repository covering CVE-2025-66209-66213) lowers the skill barrier, and the low attack complexity (AC:L) means no special timing or conditions are needed once the account exists.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – Oct 19, 2026

Authenticated command injection in Coolify before 4.0.0-beta.451 lets users with application or service management permissions execute arbitrary commands as root on managed servers by supplying a Dynamic Proxy Configuration filename containing shell metacharacters. Exploitation requires a valid low-privilege Coolify account and no user interaction; unauthenticated or read-only users cannot trigger it directly. Publicly available exploit code exists, but EPSS is only 0.20% (41st percentile), and risk is concentrated in multi-user or shared deployments where service-management roles are broadly granted or an operator account is compromised.

Earlier versions of this analysis (1)
v1 Mar 17, 2026 - 20:45 CVSS 8.8

An authenticated command injection vulnerability in Coolify's Dynamic Proxy Configuration Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. The vulnerability affects all Coolify versions prior to 4.0.0-beta.451, with a publicly available proof-of-concept exploit and moderate exploitation likelihood (EPSS 20%, percentile 41%). Attackers can achieve full remote code execution with root privileges by injecting shell commands through unescaped proxy configuration filenames.

RemediationAI

Vendor-released patch: upgrade to Coolify 4.0.0-beta.451 or later, referencing release tag https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451, patch PR https://github.com/coollabsio/coolify/pull/7375, and advisory https://github.com/coollabsio/coolify/security/advisories/GHSA-q7rg-2j7p-83gp. Until upgraded, restrict application and service management permissions to fully trusted administrators and remove write-capable operator roles from untrusted users, because exploitation requires an authenticated manager; audit accounts for compromise since public exploit code exists. If role restriction is not feasible, place the Coolify control plane behind VPN or IP allowlisting and monitor managed servers for unexpected root-level shell commands, accepting that this reduces but does not eliminate exposure from compromised manager accounts.

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, databases, and proxy configuration across Docker-based infrastructure. The issue is CWE-78 OS command injection: a user-controlled Dynamic Proxy Configuration filename is interpolated into a shell command without escaping, so metacharacters such as semicolons, backticks, or command substitutions are interpreted by a root-privileged shell on managed servers. The CVSS 4.0 score is 9.4 with AV:N/AC:L/PR:L/UI:N and high confidentiality, integrity, and availability impact plus scope change; the independent CVSS 3.1 assessment is AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. The precondition is an authenticated account with application/service management rights reaching the Dynamic Proxy Configuration Filename path; read-only users and unauthenticated attackers cannot exploit it. The upstream fix in PR 7375 applies validateShellSafePath and escapeshellarg to shell-bound inputs, and release 4.0.0-beta.451 contains the fix. The public exploit repository references a cluster of Coolify issues spanning CVE-2025-66209 through CVE-2025-66213, so related command-injection paths should be patched together.

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 web UI (AV:N), no special conditions (AC:L), requires an authenticated management account (PR:L); scope changes (S:C) because the Coolify app executes commands as root on separate managed servers, with full C/I/A impact.

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

6
Analysis Updated
Oct 19, 2026 - 22:30 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 22:24 NVD
HIGH CRITICAL
CVSS changed
Oct 19, 2026 - 22:24 NVD
8.8 (HIGH) 9.4 (CRITICAL)
Patch released
Mar 17, 2026 - 20:45 nvd
Patch available
PoC Detected
Mar 17, 2026 - 17:16 vuln.today
Public exploit code
CVE Published
Dec 23, 2025 - 22: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.451, an authenticated command injection vulnerability in the Dynamic Proxy Configuration Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. Proxy configuration filenames are passed to shell commands without proper escaping, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue.

Executive ViewAI

Why It Matters

Coolify deployments older than 4.0.0-beta.451 carry a critical flaw that lets a user holding routine application or service management permissions run arbitrary commands as root on the servers Coolify manages. The practical exposure is concentrated in shared or multi-tenant installations where those permissions are handed out broadly, since any such account-or a single compromised operator credential-becomes a path to full control of managed infrastructure. Leadership should care because the blast radius is the hosting fleet itself, not just the Coolify interface, and remediation requires a version upgrade plus a review of who currently holds elevated roles.

Business Impact: High
Compensating Controls

Apply vendor patch. Until the upgrade to 4.0.0-beta.451 or later is complete, restrict application and service management permissions to a small set of trusted operators, rotate credentials for anyone who held them, and monitor Dynamic Proxy Configuration changes for shell metacharacters.

Threat Intelligence Overview

EPSS Score
0.2%
Top 59% exploitable
Prevalence
Low
niche self-hosted open-source PaaS, limited production 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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
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:*:*:*:*:*:*
+ 421 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-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