CVE-2026-42153
Received Received - Intake

PostgreSQL Command Injection in Coolify

Vulnerability report for CVE-2026-42153, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-06

Last updated on: 2026-07-06

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-06
Last Modified
2026-07-06
Generated
2026-07-07
AI Q&A
2026-07-07
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
coolify coolify to 4.0.0-beta.474 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in Coolify, an open-source tool for managing servers, applications, and databases. Before version 4.0.0-beta.474, the PostgreSQL healthcheck command generation used database settings (postgres_user and postgres_db) that could be controlled by an authenticated user. These settings were incorporated into shell-form commands, which allowed the attacker to inject arbitrary commands that would be executed inside the database container.

Impact Analysis

An attacker who is authenticated can exploit this vulnerability to execute arbitrary commands within the database container. This can lead to a full compromise of the database environment, including unauthorized access, data manipulation, or destruction. The CVSS score of 8.8 indicates a high severity with impacts on confidentiality, integrity, and availability.

Mitigation Strategies

To mitigate this vulnerability, upgrade Coolify to version 4.0.0-beta.474 or later, where the issue has been fixed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-42153. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart