CVE-2026-27955CWE-78

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

Medium · published June 30, 2026

CVSS v3.1
6.6
EPSS
0%
Percentile
32.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.6 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00396 · 32.6th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-06-30T14:36Z
EPSS history
Timeline
  • 30 JUN 14:36Z
    Coolify: Command Injection via Single-Quote Breakout in `executeInDocker()`
    cvelistv5