CVE-2026-42204
HIGH
8.8
CVSS 3.1
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.
Metadata
Severity & Metrics
8.8
HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| coollabsio | coolify | — | >= 4.0.0-beta.471, < 4.0.0-beta.474 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-78 | cna | CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 8.8 | HIGH | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (4)
- https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x
- https://github.com/coollabsio/coolify/pull/9684 https://github.com/coollabsio/coolify/pull/9684
- https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9 https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474