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

A regression in Coolify’s SHELL_SAFE_COMMAND_PATTERN allowed ampersand characters to be interpreted as command separators in custom Docker Compose build, start, and pre/post‑deployment command fields. authenticated team member to inject on the host, granting unrestricted root access.

Affected Systems

Coollabsio’s Coolify product between versions 4.0.0‑beta.471 and 4.0.0‑beta.473 is affected. Any authenticated user with permission to edit the Docker Compose build, start. The issue is fixed in version 4.0.0‑beta.474, which restores fields to the highest‑privileged users.

Risk and Exploitability

The CVSS score of 8.8 signals high severity, while the EPSS score of less than 1 % indicates a low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires valid authentication and write access to the impacted fields, limiting the threat to internal users with sufficient privileges, yet providing full host control once successful.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coolify to version 4.0.0 or later to remove the regression and enforce stricter command‑pattern validation.
  • Restrict write access to the Docker Compose build, start, and pre/post‑deployment command fields so that only users holding the highest administrative role can modify them.
  • Validate or sanitize command field inputs to strip ampersand characters and enforce the SHELL_SAFE_COMMAND_PATTERN; audit existing CI/CD pipelines for unsafe inputs.

Generated by OpenCVE AI on July 26, 2026 at 19:58 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

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')