CVE-2026-42153
JSON

8.8high

Coolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
coollabsio coolify< 4.0.0-beta.474CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Coolify es una herramienta de código abierto y autoalojable para gestionar servidores, aplicaciones y bases de datos. Antes de la versión 4.0.0-beta.474, la generación de comandos de verificación de estado (healthcheck) de PostgreSQL utilizaba configuraciones de base de datos controladas por el atacante (postgres_user y postgres_db) en comandos de tipo shell, lo que permitía a un usuario autenticado inyectar comandos ejecutados en el contenedor de la base de datos. Este problema está solucionado en la versión 4.0.0-beta.474.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42153 changed 2026-07-07CVE Terms of Use
NVDCVE-2026-42153 changed 2026-10-25Public domain