Skip to main content
← All vulnerabilities
CVE-2026-34158

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.0.0-beta.469
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • coollabsio coolify

    fixed in 4.0.0-beta.469

References 1

GitHub · coollabsio/coolify