CVE-2026-42148 Details
Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, the buildHelperImage method in app/Livewire/Settings/Index.php constructs a Docker build command using the dev_helper_version field without shell escaping, allowing an attacker who can set the helper version and trigger the helper image build in a development environment to execute arbitrary commands on the server. This issue is fixed in version 4.0.0-beta.474.
A command injection vulnerability has been identified in Coolify versions prior to 4.0.0-beta.474. The issue arises in the buildHelperImage method of the Livewire Settings component, where a Docker build command is created using the dev_helper_version input without proper shell escaping. This flaw allows an attacker to execute arbitrary commands on the server by injecting malicious payloads into the version string, particularly in a development environment where the vulnerability can be exploited.
Users are advised to update to Coolify version 4.0.0-beta.474 or later. For those unable to update, it is recommended to manually validate and escape the dev_helper_version input to prevent command injection.
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-x9qh-w4c4-54f9 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/coollabsio/coolify/commit/dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c | [email protected] | Source CodeVendor |
| https://github.com/coollabsio/coolify/pull/9670 | [email protected] | Issue TrackingVendor |
| https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9 | [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 6, 2026 | New CVE Received | [email protected] |
Volerion