CVE-2026-27955
JSON

6.6medium

Coolify: Command Injection via Single-Quote Breakout in `executeInDocker()`

Severity
6.6medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 20% 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.464, the executeInDocker() helper wraps commands in bash -c '{$command}' without escaping single quotes. User-controlled docker_compose_custom_build_command and docker_compose_custom_start_command fields are interpolated directly, allowing a single quote to break out of the bash -c argument and execute commands on the managed server host (outside the intended Docker container context). This vulnerability is fixed in 4.0.0-beta.464.

Affected

Product or packageVersionsReported by
coollabsio coolify< 4.0.0-beta.464CVE 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.464, the executeInDocker() helper wraps commands in bash -c '{$command}' without escaping single quotes. User-controlled docker_compose_custom_build_command and docker_compose_custom_start_command fields are interpolated directly, allowing a single quote to break out of the bash -c argument and execute commands on the managed server host (outside the intended Docker container context). This vulnerability is fixed in 4.0.0-beta.464.

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.464, el asistente executeInDocker() envuelve los comandos en bash -c ’{$command}’ sin escapar las comillas simples. Los campos controlados por el usuario docker_compose_custom_build_command y docker_compose_custom_start_command se interpolan directamente, permitiendo que una comilla simple escape del argumento bash -c y ejecute comandos en el host del servidor gestionado (fuera del contexto del contenedor Docker previsto). Esta vulnerabilidad está corregida en la versión 4.0.0-beta.464.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27955 changed 2026-06-30CVE Terms of Use
NVDCVE-2026-27955 changed 2026-10-25Public domain