Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| coollabsio | coolify | before 4.0.0-beta.471 | 4.0.0-beta.471 | Patch available | CNA |
- coolify Vendorcoollabsio Affected before 4.0.0-beta.471 Fixed in 4.0.0-beta.471 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:* | — | — | coollabsio |
- cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:* Versions — — ·coollabsio
Remediation
- Fix · CNA coolify (coollabsio) Fixed in 4.0.0-beta.471
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34152
- 2026-10-16 EPSS moved to the 50th–90th percentile
References
More coollabsio vulnerabilities
- TI-2025-40716 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in File Storage Directory Mount Path CVSS 4.0CRITICAL 9.4
- TI-2025-40715 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Dynamic Proxy Configuration Filename CVSS 4.0CRITICAL 9.4
- TI-2025-40714 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in PostgreSQL Init Script Filename CVSS 4.0CRITICAL 9.4
- TI-2025-40713 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Database Import CVSS 4.0CRITICAL 9.4
- TI-2025-40712 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Database Backup CVSS 3.1CRITICAL 10.0
- TI-2025-16498 Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE) CVSS 3.1CRITICAL 10.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences