Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, the buildHelperImage method in app/Livewire/Settings/Index.php constructs a Docker build command using the dev_helper_version field without shell escaping, allowing an attacker who can set the helper version and trigger the helper image build in a development environment to execute arbitrary commands on the server. This issue is fixed in version 4.0.0-beta.474.
Published: 2026-07-06
Score: 3.8 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in Coolify’s buildHelperImage method embeds the dev_helper_version string directly into a Docker build command without any shell escaping. This unchecked concatenation permits an attacker who can control that field and trigger a helper image build to inject arbitrary shell commands. As a result, the attacker can execute code on the host system, elevating the injection type to remote code execution, classified as CWE‑78.

Affected Systems

Coolify deployments running a version prior to 4.0.0‑beta.474 are affected. Versions 4.0.0‑beta.474 or later contain the fix and are not susceptible to this issue.

Risk and Exploitability

The CVSS base score of 3.8 indicates a low overall severity, and the EPSS score of less than 1% indicates a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker must have the ability to set the dev_helper_version field and invoke a Docker build in a development environment, implying local or privileged access rather than a true remote exploit. Consequently, while the operational risk is considered low, users with such access can run arbitrary commands.

Generated by OpenCVE AI on July 26, 2026 at 19:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coolify to version 4.0.0‑beta.474 or later.
  • If an upgrade is not feasible, restrict the helper image build feature or limit the dev_helper_version field to trusted administrators.
  • As a temporary workaround, modify the Docker build invocation to use Docker’s API or ensure proper argument escaping to eliminate unsanitized shell interpolation.

Generated by OpenCVE AI on July 26, 2026 at 19:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 07 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Coollabsio
Coollabsio coolify
Vendors & Products Coollabsio
Coollabsio coolify

Mon, 06 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, the buildHelperImage method in app/Livewire/Settings/Index.php constructs a Docker build command using the dev_helper_version field without shell escaping, allowing an attacker who can set the helper version and trigger the helper image build in a development environment to execute arbitrary commands on the server. This issue is fixed in version 4.0.0-beta.474.
Title Coolify: Command Injection via Unescaped Version String in Docker Build
Weaknesses CWE-78
References
Metrics cvssV3_1

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


Subscriptions

Coollabsio Coolify
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-07T12:43:59.967Z

Reserved: 2026-04-24T17:15:21.834Z

Link: CVE-2026-42148

cve-icon Vulnrichment

Updated: 2026-07-07T12:43:30.667Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T20:00:04Z

Weaknesses
  • CWE-78

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