{"id":"CVE-2026-42148","aliases":["CVE-2026-42148"],"related":[],"kind":"vulnerability","state":"published","title":"Coolify: Command Injection via Unescaped Version String in Docker Build","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-06T21:14:31.801Z","modified":"2026-10-25T20:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","score":3.8,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","score":3.8,"rating":"LOW"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 4.0.0-beta.474","status":"affected"}],"vendor":"coollabsio","product":"coolify","source":"cvelist"}],"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coollabsio/coolify/pull/9670","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/coollabsio/coolify/commit/dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-07T12:43:40.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42148","url":"https://www.cve.org/CVERecord?id=CVE-2026-42148","licence":"CVE Terms of Use","modified":"2026-07-07T12:43:59.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42148","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42148","licence":"Public domain","modified":"2026-10-25T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.270Z","epss":{"score":0.00177,"percentile":0.07504,"date":"2026-12-01T12:00:22.000Z"}}