Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, database credential fields (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.
Published: 2026-07-07
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Coolify is an open‑source and self‑hostable platform for managing servers, applications, and databases. Before version 4.0.0‑beta.474, the API accepted database credential fields such as redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, and mysql_user only as generic strings, performing no shell‑safety checks. These values were then interpolated directly into Docker Compose YAML commands without escaping. This flaw allows an attacker who can write these fields to inject arbitrary shell commands that execute during container startup, potentially compromising the host system. The vulnerability corresponds to CWE‑78, which focuses on unsafe execution of system commands.

Affected Systems

The affected product is Coolify from Coollabs.io. All releases prior to version 4.0.0‑beta.474 are vulnerable when creating or updating database services via the API, with the credential fields mentioned above.

Risk and Exploitability

The CVSS score of 3.3 indicates a low severity, mainly because the flaw requires manipulating application input rather than an external trigger. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation requires write‑access to the API that creates or updates database credentials, which may allow local or remote injection depending on the deployment environment. This vulnerability has low exploitation probability but could lead to severe compromise if abused.

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 4.0.0‑beta.474 or later where the injection issue is fixed.
  • Restrict API access to credential creation or update endpoints to trusted administrators only.
  • Enforce strict input validation on the credential fields, ensuring no shell metacharacters remain or that values are properly escaped before inclusion in Docker Compose commands.

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': 'partial'}, '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.474, database credential fields (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.
Title Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands
Weaknesses CWE-78
References
Metrics cvssV3_1

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


Subscriptions

Coollabsio Coolify
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-07T13:58:15.968Z

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

Link: CVE-2026-42201

cve-icon Vulnrichment

Updated: 2026-07-07T13:57:35.004Z

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