CVE-2026-42201 Details
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.
A command injection vulnerability has been identified in Coolify, an open-source tool for managing servers and applications. This issue affects versions through 4.0.0-beta.473. The vulnerability arises because certain database credential fields are only validated as strings, without any checks for shell safety. As a result, these values can be directly interpolated into Docker Compose YAML commands, leaving them vulnerable to injection attacks. Exploiting this flaw allows for arbitrary command execution within the context of the database container.
Users can upgrade to Coolify version 4.0.0-beta.474 or later, where this vulnerability has been fixed. In the patched version, database credential validations now include checks for shell safety, preventing the injection of malicious commands.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 7, 2026CISA-ADP
Assessed Jul 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36v | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/coollabsio/coolify/commit/bff6d853708f3d7c861279586f107739036e67da | [email protected] | Source CodeVendor |
| https://github.com/coollabsio/coolify/pull/9676 | [email protected] | Source CodeVendor |
| https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 | [email protected] | Release NotesVendor |
| https://github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36v | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Coolify | <= 4.0.0-beta.473 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2026 | New CVE Received | [email protected] |
Volerion