Description
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.
Published: 2026-09-02
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Coolify versions prior to 4.2.0 do not properly escape environment variable key names in Docker commands executed over SSH on managed servers. This allows an authenticated attacker to inject shell metacharacters into the key names, causing those metacharacters to be interpreted by the host shell. The attacker can then run arbitrary commands on the server host, outside of any container boundaries, leading to full remote code execution on the host machine. The weakness is categorized as CWE‑78, reflecting an operating‑system command injection flaw.

Affected Systems

The affected vendor is CoollabsIO, product Coolify. All installations running any release before 4.2.0 that use Docker commands over SSH on managed servers are potentially exposed. Users should verify the installed version and determine whether they are operating with credentials that permit the creation or modification of Docker environment variable keys.

Risk and Exploitability

The CVSS score of 8.7 classifies this as a high‑severity vulnerability. With no EPSS score available and the issue not listed in the CISA KEV catalog, the likelihood of exploitation remains uncertain, but the impact is severe. An attacker only needs legitimate credentials to configure environment variables for Docker deployments, making the attack vector relatively low in terms of access requirements yet high in consequence. Until a patch is applied, systems should be treated as at risk of full host compromise.

Generated by OpenCVE AI on September 2, 2026 at 03:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coolify to version 4.2.0 or later, which correctly escapes environment variable keys in Docker commands.
  • For environments that cannot be updated immediately, restrict or audit usage of the Docker command interface that allows environment variable keys, ensuring only trusted administrators can modify them.
  • Apply input validation or sanitization to any user‑supplied environment variable keys to prevent shell metacharacter injection, aligning with CWE‑78 mitigation practices.

Generated by OpenCVE AI on September 2, 2026 at 03:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 01:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Coolify before 4.2.0 Remote Code Execution via Environment Variable Key
First Time appeared Coollabs
Coollabs coolify
Weaknesses CWE-78
CPEs cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:*
Vendors & Products Coollabs
Coollabs coolify
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Coollabs Coolify
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-02T00:37:50.990Z

Reserved: 2026-09-01T23:24:14.522Z

Link: CVE-2026-84694

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-02T01:17:24.243

Modified: 2026-09-02T01:17:24.243

Link: CVE-2026-84694

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T06:30:07Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')