8.8high
Coolify: Command injection via single-quote breakout in Docker Compose custom commands
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 38% 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.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| coollabsio coolify | < 4.0.0-beta.469 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
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.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
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.469, la función auxiliar executeInDocker() envuelve los comandos controlados por el usuario en comillas simples sin escapar las comillas simples incrustadas. Los atacantes que pueden editar la configuración de la aplicación pueden inyectar una comilla simple en docker_compose_custom_build_command o docker_compose_custom_start_command para salir del contexto entre comillas y ejecutar comandos arbitrarios en el host del servidor gestionado durante las implementaciones, escapando del confinamiento previsto del contenedor Docker. Este problema está solucionado en la versión 4.0.0-beta.469.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34158 changed 2026-07-07 | CVE Terms of Use |
| NVD | CVE-2026-34158 changed 2026-10-25 | Public domain |