What’s Vulnerable › Vulnerabilities
CVE-2026-34158: Coolify: Command injection via single-quote breakout in Docker Compose custom commands
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-07 · updated 2026-10-25
- Weakness: CWE-78
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 products
- coollabsio coolify: before 4.0.0-beta.469
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-j6j2-frv3-g6f7
- https://github.com/coollabsio/coolify/security/advisories/GHSA-j6j2-frv3-g6f7
Get alerted when CVE-2026-34158 or the next vulnerability affects your stack