Vulnerability · Published Jul 6, 2026 · Assigned by GitHub_M
CVE-2026-42148Coolify: Command Injection via Unescaped Version String in Docker Build
Low 3.8
In plain English
A low-severity OS command injection in coolify from coollabsio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.474 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9 x_refsource_CONFIRM
- https://github.com/coollabsio/coolify/pull/9670 x_refsource_MISC
- https://github.com/coollabsio/coolify/commit/dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c x_refsource_MISC