CVE-2026-34152 PUBLISHED

Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)

Assigner: GitHub_M
Reserved: 25.03.2026 Published: 07.07.2026 Updated: 07.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor coollabsio
Product coolify
Versions
  • Version < 4.0.0-beta.471 is affected

References

Problem Types

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE