Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.
Published: 2026-07-06
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The regression in Coolify’s SHELL_SAFE_COMMAND_PATTERN permitted ampersand characters to be treated as command separators within custom Docker Compose build, start, and pre/post‑deployment command fields. An authenticated team member who can edit these fields can thus inject arbitrary shell commands that execute on the host machine, providing an attacker with full host‑level control (OS Command Injection, CWE‑78).

Affected Systems

Coollabsio’s Coolify product, specifically versions 4.0.0-beta.471 through 4.0.0-beta.473, is impacted. Version 4.0.0-beta.474 addresses the regression by enforcing stricter command‑pattern validation.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, but the EPSS score of less than 1 % suggests a low current likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires valid authentication and write access to the affected command fields, limiting the risk to users with sufficient privileges. Once achieved, the attacker can execute commands with host root privileges.

Generated by OpenCVE AI on August 4, 2026 at 07:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coolify to version 4.0.0-beta.474 to fix the regression.
  • Limit the ability to edit Docker Compose build, start, and pre/post‑deployment command fields to the smallest group of trusted users.
  • Audit existing command configurations for disallowed ampersand characters and sanitize or remove them before deployment.

Generated by OpenCVE AI on August 4, 2026 at 07:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


Mon, 06 Jul 2026 23:30: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. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.
Title Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root
Weaknesses CWE-78
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'}


Subscriptions

Coollabsio Coolify
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-07T14:47:36.729Z

Reserved: 2026-04-25T05:04:37.027Z

Link: CVE-2026-42204

cve-icon Vulnrichment

Updated: 2026-07-07T14:47:19.455Z

cve-icon NVD

Status : Deferred

Published: 2026-07-06T22:16:49.510

Modified: 2026-07-07T15:16:46.867

Link: CVE-2026-42204

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T08:00:03Z

Weaknesses
  • CWE-78

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