Skip to main content

Coolify CVE-2026-42148

| EUVDEUVD-2026-41953 LOW
OS Command Injection (CWE-78)
2026-07-06 GitHub_M
3.8
CVSS 3.1 · Vendor: GitHub_M

Severity by source

Vendor (GitHub_M) PRIMARY
3.8 LOW
AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
vuln.today AI
6.3 MEDIUM

AV:L/AC:H/PR:H/UI:R retained from vendor assessment; impact raised to H/H/H because successful OS command injection yields full server-level compromise regardless of constrained entry conditions.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Jul 06, 2026 - 23:01 EUVD
Analysis Generated
Jul 06, 2026 - 22:46 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.474, the buildHelperImage method in app/Livewire/Settings/Index.php constructs a Docker build command using the dev_helper_version field without shell escaping, allowing an attacker who can set the helper version and trigger the helper image build in a development environment to execute arbitrary commands on the server. This issue is fixed in version 4.0.0-beta.474.

AnalysisAI

OS command injection in Coolify's settings module allows a highly privileged attacker in a development environment to execute arbitrary shell commands on the host server by injecting metacharacters into the dev_helper_version field, which is passed unsanitized into a Docker build command. All Coolify releases prior to 4.0.0-beta.474 are affected. No public exploit code exists and no CISA KEV listing has been issued; the provided CVSS score of 3.8 (Low) accurately reflects the highly constrained exploitation prerequisites, though the underlying command injection class warrants upgrade regardless.

Technical ContextAI

Coolify is a PHP/Laravel (Livewire) open-source PaaS alternative for self-hosting servers, applications, and databases (CPE: cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:*). The vulnerability is in the buildHelperImage method at app/Livewire/Settings/Index.php, which constructs a Docker CLI build command by interpolating the dev_helper_version field directly into a shell string without sanitization, escaping, or parameterization. CWE-78 (Improper Neutralization of Special Elements in an OS Command) describes this root cause: user-supplied data containing shell metacharacters such as semicolons, pipes, or backticks breaks out of the intended Docker argument context and causes the underlying shell to execute injected directives. The Docker daemon then executes the resultant command with the permissions of the Coolify server process. This code path is only reachable in development environment deployments where the helper image build feature is accessible from the settings interface.

RemediationAI

Upgrade Coolify to version 4.0.0-beta.474 or later, which resolves the injection by properly escaping the dev_helper_version field before use in the Docker build command. The fix is available via merged commit dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c and PR #9670 (https://github.com/coollabsio/coolify/pull/9670); the patched release is confirmed at version 4.0.0-beta.474 per the vendor advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9. For environments that cannot immediately upgrade, disable or restrict access to the Settings page to only fully trusted administrators, and avoid running Coolify in development mode on shared or semi-trusted infrastructure. Disabling the helper image build feature in development configurations eliminates the vulnerable code path entirely with no impact on production functionality. Note that restricting UI access alone does not eliminate the underlying insecure code - patching is the definitive remediation.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-42148 vulnerability details – vuln.today

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