CVE-2026-42204 Details
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.
A command injection vulnerability has been identified in Coolify versions 4.0.0-beta.471 to 4.0.0-beta.473. The issue arises from a regression in the validation pattern for shell-safe commands, which allowed ampersands to be included in custom Docker Compose build, start, and deployment command fields. This flaw enables authenticated team members to inject shell commands that are executed on the host system. The vulnerability has been patched in version 4.0.0-beta.474.
Users can update to Coolify version 4.0.0-beta.474 or later, where this vulnerability has been fixed.
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 6, 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-chg4-63hm-xv9x | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9 | [email protected] | Source CodeVendor |
| https://github.com/coollabsio/coolify/pull/9684 | [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-chg4-63hm-xv9x | [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.471, <= 4.0.0-beta.473 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 6, 2026 | New CVE Received | [email protected] |
Volerion