Vulnerability · Published Jul 6, 2026 · Assigned by GitHub_M
CVE-2026-42153Coolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container
High 8.8
In plain English
A high-severity OS command injection in coolify from coollabsio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).
Official description
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 (postgres_user and postgres_db) 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.474 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-gvc4-f276-r88p x_refsource_CONFIRM
- https://github.com/coollabsio/coolify/pull/9674 x_refsource_MISC
- https://github.com/coollabsio/coolify/commit/b74f54302b1a857c22c55fe1210d700859b0b3df x_refsource_MISC
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 x_refsource_MISC