# CVE-2026-34152: Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-07-07T03:11:14.111Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.471

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-5qp8-9gg7-4c86>
- <https://github.com/coollabsio/coolify/pull/9173>
- <https://github.com/coollabsio/coolify/commit/ad95d65aca064f49b38f73f88d61f842737d5463>
- <https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471>

## Sources

- CVE List: [CVE-2026-34152](https://www.cve.org/CVERecord?id=CVE-2026-34152), CVE Terms of Use, modified 2026-07-09
- NVD: [CVE-2026-34152](https://nvd.nist.gov/vuln/detail/CVE-2026-34152), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-34152 · Whole record: https://cve.day/CVE-2026-34152.json · Rebuilt by cve.day 2026-11-25T22:59:27.277Z
