Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
Published: 2026-07-07
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in Coolify's executeInDocker helper, which encloses user‑supplied commands in single quotes without escaping inner single quotes. An attacker able to edit application settings can insert a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command, breaking out of the quoted context and executing arbitrary shell commands on the host during deployment. This allows remote code execution on the managed server, bypassing the confinement normally provided by Docker containers.

Affected Systems

Affected is the Coolify product from Coollabsio. Versions prior to 4.0.0-beta.469 are impacted; the vulnerability is fixed in 4.0.0-beta.469.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, while the EPSS score of <1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitability requires the ability to edit application settings, implying authenticated or elevated privileges. Once that condition is satisfied, arbitrary commands can be run on the host system during deployment.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Coolify to version 4.0.0-beta.469 or later to receive the patch that protects executeInDocker from command injection.
  • If an upgrade is not possible, clear or remove any user‑supplied docker_compose_custom_build_command or docker_compose_custom_start_command entries to eliminate the injection vector.
  • Restrict access to the application settings interface so that only trusted administrators can modify custom commands, thereby limiting the attack surface.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Metrics ssvc

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


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

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

Tue, 07 Jul 2026 05:00: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.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
Title Coolify: Command injection via single-quote breakout in Docker Compose custom commands
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-07T13:38:48.452Z

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

Link: CVE-2026-34158

cve-icon Vulnrichment

Updated: 2026-07-07T13:38:43.426Z

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