Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, pre-deployment and post-deployment commands are single-quote escaped but then sent through SSH heredoc transport that preserves newlines, allowing an authenticated user to inject additional shell statements that execute on the remote server during deployment. This issue is fixed in version 4.0.0-beta.471.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
References
github.com/...oolify/security/advisories/GHSA-5qp8-9gg7-4c86
github.com/coollabsio/coolify/pull/9173
github.com/...ommit/ad95d65aca064f49b38f73f88d61f842737d5463
github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471