CVE-2026-42153: Coolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, PostgreSQL healthcheck command generation used attacker-controlled database settings (postgresuser and postgresdb) in shell-form commands, allowing an authenticated user to inject commands executed in the database container. This issue is fixed in version 4.0.0-beta.474.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Coolifyto a version that resolves this vulnerability.Fixed in 4.0.0-beta.474
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42153?
CVE-2026-42153 has a high severity score of 8.8.
How do I fix CVE-2026-42153?
To fix CVE-2026-42153, upgrade Coolify to version 4.0.0-beta.474 or later.
What type of vulnerability is CVE-2026-42153?
CVE-2026-42153 is classified as an OS Command Injection vulnerability.
Who is affected by CVE-2026-42153?
CVE-2026-42153 affects users of Coolify versions prior to 4.0.0-beta.474.
What can an attacker achieve with CVE-2026-42153?
An attacker can achieve root code execution within a container due to the command injection vulnerability.