Unrated severityNVD Advisory· Published Jul 7, 2026· Updated Jul 9, 2026
Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)
CVE-2026-34152
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.
Affected products
1- Range: <4.0.0-beta.471
Patches
Vulnerability mechanics
References
4- github.com/coollabsio/coolify/commit/ad95d65aca064f49b38f73f88d61f842737d5463mitrex_refsource_MISC
- github.com/coollabsio/coolify/pull/9173mitrex_refsource_MISC
- github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471mitrex_refsource_MISC
- github.com/coollabsio/coolify/security/advisories/GHSA-5qp8-9gg7-4c86mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.