CVE-2026-34158CWE-78

Coolify: Command injection via single-quote breakout in Docker Compose custom commands

High · published July 7, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
50.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.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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00651 · 50.6th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-07-07T03:28Z
EPSS history
Timeline
  • 07 JUL 03:28Z
    Coolify: Command injection via single-quote breakout in Docker Compose custom commands
    cvelistv5