CVE-2026-42148
JSON

3.8low

Coolify: Command Injection via Unescaped Version String in Docker Build

Severity
3.8low CVSS:3.1 by GitHub_M
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
coollabsio coolify< 4.0.0-beta.474CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Coolify es una herramienta de código abierto y autoalojable para gestionar servidores, aplicaciones y bases de datos. Antes de la versión 4.0.0-beta.474, el método buildHelperImage en app/Livewire/Settings/Index.php construye un comando de compilación de Docker utilizando el campo dev_helper_version sin escape de shell, permitiendo a un atacante que puede establecer la versión del ayudante y activar la compilación de la imagen del ayudante en un entorno de desarrollo ejecutar comandos arbitrarios en el servidor. Este problema está solucionado en la versión 4.0.0-beta.474.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42148 changed 2026-07-07CVE Terms of Use
NVDCVE-2026-42148 changed 2026-10-25Public domain