Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root
Summary
| CVE | CVE-2026-42204 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-06 22:16:49 UTC |
| Updated | 2026-07-07 15:16:46 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-78 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Coollabsio | Coolify | affected >= 4.0.0-beta.471, < 4.0.0-beta.474 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/coollabsio/coolify/pull/9684 | [email protected] | github.com | |
| github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a15... | [email protected] | github.com | |
| github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.