Skip to main content

Coolify CVE-2026-34038

| EUVDEUVD-2026-41943 CRITICAL
OS Command Injection (CWE-78)
2026-07-06 GitHub_M
9.9
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 application write permissions
  2. Delivery
    Inject shell metacharacters into dockerfile_location/deploy command
  3. Exploit
    Trigger application deployment
  4. Execution
    Coolify executes injected command on host
  5. Persist
    Read environment variables and run arbitrary code
  6. Impact
    Exfiltrate secrets via deployment logs

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 account holding application write permissions on at least one application (PR:L) and the ability to modify deployment-related fields - specifically dockerfile_location or deployment commands - then trigger a deployment. There is no user-interaction requirement (UI:N) and the Coolify management interface must be network-reachable to the attacker (AV:N). Limiting factors that reduce real-world risk: the attacker cannot be fully anonymous - they must already possess deploy/write access, so single-operator instances or instances where write access is tightly held are far less exposed than multi-tenant or team deployments with lower-trust members. All Coolify versions before 4.0.0-beta.469 in default configuration are affected once that permission level is obtained.

Impact

This is a genuine high-priority issue rather than an inflated high-CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9) indicates network-reachable, low-complexity exploitation requiring only low privileges (an authenticated user with application write permissions) and no user interaction, with full confidentiality/integrity/availability impact amplified by a scope change. The principal limiting factor is authentication: the attacker must already hold application write permissions, so this is more of a privilege-escalation/tenant-breakout risk than an anonymous internet-wide RCE - relevant for multi-user Coolify instances, teams with limited-trust members, or any environment where a lower-privileged deploy account could be phished or compromised. No EPSS score, KEV listing, or POC was provided in the input, so real-world exploitation frequency cannot be quantified from available data; the CWE-78 class and the trivial exploitation mechanics nonetheless make weaponization straightforward once details are public.

Exploit ScenarioDerived

A team member (or a compromised/low-trust account) that has been granted application write permissions on a shared Coolify instance edits an application's deployment settings, placing shell metacharacters and an injected command in the dockerfile_location or deployment command field. When the deployment runs, Coolify's build pipeline executes the injected command on the host, allowing the attacker to run arbitrary code and read environment variables of other applications, which are then visible in the deployment logs. No public POC was identified at time of analysis, and the low attack complexity (AC:L) means the technique is straightforward once the injectable field is known.

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

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

Alert me

AnalysisAIv1 – Jul 06, 2026

Remote command injection in Coolify (self-hosted PaaS) before 4.0.0-beta.469 lets an authenticated user with application write permissions inject OS commands through deployment-handling fields such as dockerfile_location, achieving arbitrary code execution on the deployment host and exfiltrating secrets via deployment logs. The flaw scores CVSS 9.9 because command injection breaks out of the application context to compromise the underlying server (scope change), exposing environment variables and other applications' secrets. No public exploit has been identified at time of analysis, but the fix is available in tagged release v4.0.0-beta.469.

RemediationAI

Vendor-released patch: upgrade to Coolify 4.0.0-beta.469 or later (tagged release https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.469; advisory https://github.com/coollabsio/coolify/security/advisories/GHSA-qqrq-r9h4-x6wp). This is the primary and recommended fix. If you cannot upgrade immediately, reduce exposure by tightening who holds application write permissions - remove or downgrade untrusted team members and service accounts, since exploitation requires that privilege - and audit deployment configurations for suspicious values in dockerfile_location and custom deployment command fields. Restrict network access to the Coolify dashboard/API to trusted operators (e.g., behind a VPN or IP allowlist) to shrink the attacker population, accepting the trade-off of less convenient remote administration. Review recent deployment logs for signs of injected commands or leaked environment variables, and rotate any secrets that may have been exposed through those logs.

Affected VersionsENISA

coolify < 4.0.0-beta.469

Affected Packages

euvd coolify fix: 4.0.0-beta.469

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 alternative to Heroku/Netlify/Vercel that orchestrates Docker-based deployments of applications and databases across managed servers. The root cause is CWE-78 (OS Command Injection): user-controllable deployment parameters - notably dockerfile_location and deployment commands - are passed into shell command construction during the build/deploy pipeline without adequate sanitization, so shell metacharacters break out of the intended command. Because deployments run with the privileges of Coolify's deployment engine on the target host (typically with Docker/root-level access), injected commands execute in that trusted context. The affected package is coollabsio/coolify (cpe:2.3:a:coollabsio:coolify), and the CVSS scope-change flag (S:C) reflects that the injection escapes the per-application boundary to affect the host and other tenants' resources.

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 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Network-reachable dashboard (AV:N), trivial injection (AC:L), needs authenticated app-write user (PR:L), no interaction (UI:N); injection escapes app to host affecting other tenants (S:C) with full C/I/A loss.

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

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Jul 06, 2026 - 22:02 EUVD
CVE Published
Jul 06, 2026 - 20:48 cve.org
CRITICAL 9.9

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.469, an authenticated remote command injection vulnerability in application deployment handling allows users with application write permissions to achieve remote code execution and exfiltrate sensitive environment variables through deployment logs via fields such as dockerfile_location and deployment commands. This issue is fixed in version 4.0.0-beta.469.

Executive ViewAI

Why It Matters

Coolify, a self-hosted deployment platform, contains a critical vulnerability that allows users with deployment permissions to gain control of production servers and access shared credentials and secrets. This creates immediate risk of infrastructure compromise, data breach, and application disruption from both malicious insiders and compromised user accounts.

Business Impact: Severe
Compensating Controls

Apply vendor patch: upgrade to Coolify v4.0.0-beta.469 or later.

Threat Intelligence Overview

EPSS Score
2.5%
Top 17% exploitable
Prevalence
Medium
popular open-source self-hosted PaaS, common in homelabs and small teams, not enterprise-ubiquitous
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 CRITICAL
CISA KEV No
Public POC No
EPSS 2.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

53
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +50
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.

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

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