Skip to main content

Coolify CVE-2026-34152

| EUVDEUVD-2026-41990 HIGH
OS Command Injection (CWE-78)
2026-07-07 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
8.8 HIGH

Authenticated low-privilege user (PR:L) injects commands over the network with low complexity and no interaction, yielding full RCE on the managed host (C/I/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jul 07, 2026 - 05:01 EUVD
Analysis Generated
Jul 07, 2026 - 03:58 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Command injection in Coolify before 4.0.0-beta.471 lets an authenticated user break out of the pre-deployment and post-deployment command fields and run arbitrary shell statements on the target deployment server. The supplied commands are single-quote escaped but then piped through an SSH heredoc transport that preserves newlines, so newline-delimited injected statements survive escaping and execute during deployment. No public exploit is identified at time of analysis, though the fixing pull request and commit are public and make the root cause easy to reconstruct; CVSS is 8.8 (High).

Technical ContextAI

Coolify is an open-source, self-hostable platform-as-a-service (CPE cpe:2.3:a:coollabsio:coolify) that manages servers, applications, and databases and drives deployments over SSH. The flaw is CWE-78 (OS Command Injection): user-supplied pre/post-deployment commands are wrapped in single quotes to neutralize shell metacharacters, but the payload is then sent into a remote shell via an SSH heredoc (<<EOF ... EOF) that faithfully preserves embedded newlines. Single-quote escaping does nothing to stop a newline from terminating one command and beginning the next inside the heredoc body, so an attacker can smuggle additional statements that the remote shell executes with the privileges of the Coolify deployment process on the managed host.

RemediationAI

Vendor-released patch: upgrade Coolify to 4.0.0-beta.471 or later, which corrects how pre/post-deployment commands are handled before SSH heredoc transport (fix in PR #9173, commit ad95d65). If you cannot upgrade immediately, restrict who can configure deployment commands by limiting Coolify accounts to trusted operators and removing edit access to the pre/post-deployment command fields for lower-trust users, and audit existing resources for unexpected newline-containing command values - the trade-off is reduced self-service for team members. On multi-tenant instances, isolating each project's deployment onto a dedicated, non-privileged remote server account limits blast radius but adds operational overhead. Reference advisory GHSA-5qp8-9gg7-4c86 (https://github.com/coollabsio/coolify/security/advisories/GHSA-5qp8-9gg7-4c86) and the release notes at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471.

CVE-2025-59157 CRITICAL POC
9.9 Jan 05

Coolify, a self-hosted server management platform, allows authenticated users to inject OS commands through the Git Repo

CVE-2025-66209 CRITICAL POC
9.9 Dec 23

A command injection vulnerability in Coolify's Database Backup functionality allows authenticated users with application

CVE-2025-64420 CRITICAL POC
9.9 Jan 05

Coolify through v4.0.0-beta.434 exposes the root user's SSH private key to low-privileged team members. Any user with ba

CVE-2026-57498 CRITICAL POC
9.6 Jun 29

Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,

CVE-2025-64419 CRITICAL POC
9.6 Jan 05

Coolify before 4.0.0-beta.445 allows command injection through docker-compose.yaml parameters. If a victim creates an ap

CVE-2025-34161 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo

CVE-2025-34159 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d

CVE-2026-34594 HIGH POC
8.8 Jun 29

Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss

CVE-2026-34597 HIGH POC
8.8 Jun 29

Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica

CVE-2025-64424 HIGH POC
8.8 Jan 05

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. [CVSS 8.8 HIGH]

CVE-2025-59156 HIGH POC
8.8 Jan 05

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0

CVE-2025-66211 HIGH POC
8.8 Dec 23

An authenticated command injection vulnerability in Coolify's PostgreSQL initialization script handling allows attackers

Share

CVE-2026-34152 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy