Vulnerability · Published Jul 7, 2026 · Assigned by GitHub_M
CVE-2026-34152Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)
High 8.8
In plain English
A high-severity OS command injection in coolify from coollabsio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.471 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-5qp8-9gg7-4c86 x_refsource_CONFIRM
- https://github.com/coollabsio/coolify/pull/9173 x_refsource_MISC
- https://github.com/coollabsio/coolify/commit/ad95d65aca064f49b38f73f88d61f842737d5463 x_refsource_MISC
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471 x_refsource_MISC