Home

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.

PUBLISHED Reserved 2026-03-25 | Published 2026-07-07 | Updated 2026-07-07 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

< 4.0.0-beta.469
affected

References

github.com/...oolify/security/advisories/GHSA-j6j2-frv3-g6f7 exploit

github.com/...oolify/security/advisories/GHSA-j6j2-frv3-g6f7

cve.org (CVE-2026-34158)

nvd.nist.gov (CVE-2026-34158)

Download JSON