Skip to main content

Coolify CVE-2026-34168

| EUVDEUVD-2026-41986 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 with low-privilege account
  2. Delivery
    Create storage volume with shell metacharacters in name
  3. Exploit
    Trigger resource deletion
  4. Execution
    Unescaped name interpolated into docker command
  5. Impact
    Execute arbitrary commands on 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 account with the ability to create a LocalPersistentVolume / storage and set its name (PR:L), and the malicious name must contain shell metacharacters. The payload does not fire on creation - the concrete trigger is deletion of the resource associated with that volume, which invokes the vulnerable docker volume shell command. Limiting factors: exploitation only affects versions prior to 4.0.0-beta.471, needs a valid low-privilege account rather than anonymous access, and depends on the delete workflow being reached; the command executes in the context of the managed server(s) the instance controls.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8 High) is internally consistent with the description: network-reachable web app, low complexity, and low-privilege authenticated access (any user who can define a storage volume). The high C/I/A reflects full command execution on managed servers. No EPSS score, SSVC decision, KEV entry, or POC was provided, so exploitation-probability signals are absent rather than low; this should be read as unknown, not safe. The main mitigating factor is the PR:L requirement plus a deletion trigger (the payload fires when the resource is deleted), so an attacker needs a valid account and must reach the delete workflow. Given Coolify instances are often multi-tenant or expose accounts to semi-trusted team members, PR:L is a realistic bar, making this a genuine priority for anyone running affected versions rather than a high-CVSS-but-low-real-risk finding.

Exploit ScenarioDerived

A low-privileged but authenticated Coolify user creates a persistent storage volume whose name contains shell metacharacters (for example a name embedding a command substitution or command separator). When that resource is later deleted, Coolify builds a docker volume command with the unescaped name and executes it against a managed server, running the attacker's payload with the privileges of the Coolify agent on that host. No admin interaction is required beyond the deletion action, and network reachability plus a valid account are the only prerequisites; no public exploit is identified at time of analysis.

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 (self-hosted server/app management platform) before 4.0.0-beta.471 lets an authenticated user embed shell metacharacters in a LocalPersistentVolume storage name, which is interpolated unescaped into docker volume shell commands and executed on managed servers when the associated resource is deleted. Rated CVSS 8.8 (CWE-78), it yields arbitrary command execution on downstream hosts controlled by the Coolify instance. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the fix is confirmed in release 4.0.0-beta.471.

RemediationAI

Vendor-released patch: 4.0.0-beta.471 - upgrade the Coolify instance to v4.0.0-beta.471 or later, which is fixed per commit d2064dd4998694cda2eabd00149f7c4d1e94c699 and the release at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471. Review the advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-mh8x-fppq-cp77 for details. Until patched, restrict who holds accounts and volume-management permissions on the instance (limit to fully trusted operators), avoid creating or deleting resources whose LocalPersistentVolume names were set by untrusted users, and audit existing storage names for shell metacharacters (semicolon, pipe, dollar-sign, backtick, ampersand) before deleting those resources, since deletion is the trigger. These are interim controls only and reduce usability by tightening account access; upgrading is the reliable fix.

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/Heroku alternative that orchestrates Docker on one or more managed servers (typically over SSH). The flaw sits in how a persistent storage volume's name (LocalPersistentVolume.name) is passed into a shell command that manages Docker volumes: the value is string-interpolated directly into the command line without shell-argument escaping or quoting. This is a classic CWE-78 OS Command Injection, where attacker-controlled data crosses into a shell interpreter's control plane; the affected component per CPE is cpe:2.3:a:coollabsio:coolify (all versions prior to the fix). Because Coolify runs these docker commands against the servers it manages, the injected payload executes in that server context, not merely inside the Coolify UI container.

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-facing web app where any authenticated user can set volume names gives AV:N/AC:L/PR:L/UI:N; command execution on managed servers yields full 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

2
Patch available
Jul 07, 2026 - 05:01 EUVD
CVE Published
Jul 07, 2026 - 03:05 cve.org
HIGH 8.8

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 LocalPersistentVolume.name field is interpolated directly into docker volume shell commands without shell argument escaping, allowing an authenticated user to set a storage name containing shell metacharacters and execute commands on managed servers when the resource is deleted. This issue is fixed in version 4.0.0-beta.471.

Executive ViewAI

Why It Matters

Coolify (self-hosted infrastructure management platform) versions before 4.0.0-beta.471 contain an authenticated command injection vulnerability allowing malicious administrators or compromised accounts to execute arbitrary system commands on all downstream managed servers. Organizations using Coolify for production infrastructure management face potential compromise of their entire server fleet managed by affected deployments.

Business Impact: High
Compensating Controls

Apply vendor patch to Coolify 4.0.0-beta.471 or later. Interim mitigations for staged patching: restrict Coolify administrative access to trusted personnel, disable automatic resource deletion workflows, and implement network segmentation isolating managed infrastructure from less-trusted systems.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
popular self-hosted PaaS, common in self-hosting community but not enterprise-ubiquitous
Social Media
2
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