Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, pre-deployment and post-deployment commands are single-quote escaped but then sent through SSH heredoc transport that preserves newlines, allowing an authenticated user to inject additional shell statements that execute on the remote server during deployment. This issue is fixed in version 4.0.0-beta.471.
Published: 2026-07-07
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Coolify causes pre‑and post‑deployment commands to be single‑quote escaped but delivered over an SSH heredoc that preserves newlines. This allows an attacker with an authenticated account to insert newline characters to terminate the intended command and inject additional shell statements. The vulnerability is a classic command injection flaw (CWE‑78) that results in arbitrary code execution on the remote deployment host, compromising confidentiality, integrity, and availability of the deployed application or services.

Affected Systems

Coolify releases up to and including version 4.0.0-beta.470 are vulnerable. The issue was addressed in release 4.0.0-beta.471 and later.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.8, classifying it as high severity. Its EPSS score of < 1% indicates a very low but nonzero probability of real‑world exploitation, and it is not listed in the CISA KEV catalog. The attack requires an authenticated user with permission to configure deployment commands; the vector is therefore internal or authenticated from within the application. Successful exploitation would allow the attacker to execute arbitrary commands on the remote deployment host.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coolify to version 4.0.0-beta.471 or later, where the issue is fixed.
  • If an upgrade is not immediately possible, remove the ability for non‑trusted users to enter custom pre‑ or post‑deployment commands until a patch is applied.
  • Restrict deployment command configuration to trusted administrators only and monitor execution logs for suspicious activity.
  • Apply input sanitization to deployment commands to mitigate command injection (CWE‑78) until a proper fix is deployed.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

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

Tue, 07 Jul 2026 03:30: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.471, pre-deployment and post-deployment commands are single-quote escaped but then sent through SSH heredoc transport that preserves newlines, allowing an authenticated user to inject additional shell statements that execute on the remote server during deployment. This issue is fixed in version 4.0.0-beta.471.
Title Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)
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-09T14:42:58.988Z

Reserved: 2026-03-25T20:12:04.196Z

Link: CVE-2026-34152

cve-icon Vulnrichment

Updated: 2026-07-09T14:31:19.623Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:45:03Z

Weaknesses
  • CWE-78

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