# CVE-2026-42148: Coolify: Command Injection via Unescaped Version String in Docker Build

- Severity: Low 3.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T21:14:31.801Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.474

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9> (exploit)
- <https://github.com/coollabsio/coolify/pull/9670>
- <https://github.com/coollabsio/coolify/commit/dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c>

## Sources

- CVE List: [CVE-2026-42148](https://www.cve.org/CVERecord?id=CVE-2026-42148), CVE Terms of Use, modified 2026-07-07
- NVD: [CVE-2026-42148](https://nvd.nist.gov/vuln/detail/CVE-2026-42148), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42148 · Whole record: https://cve.day/CVE-2026-42148.json · Rebuilt by cve.day 2026-11-25T22:59:27.270Z
