Coolify
Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
coollabsio coolify
- < 4.0.0-beta.471
Fixed in 4.0.0-beta.471
Mitigation
Upgrade coolify to 4.0.0-beta.471 or later.
References
- Vendor advisory github.com/coollabsio/coolify/security/advisor…
- Patch github.com/coollabsio/coolify/pull/9173
- Patch github.com/coollabsio/coolify/commit/ad95d65ac…
1 more
- Release notes github.com/coollabsio/coolify/releases/tag/v4.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.