Skip to main content

Coolify CVE-2026-34158

| EUVDEUVD-2026-41998 HIGH
OS Command Injection (CWE-78)
2026-07-07 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
9.9 CRITICAL

Network-reachable web UI (AV:N/AC:L), requires an app-edit account (PR:L), no interaction (UI:N); command escapes container to the host so scope changes (S:C) with full host C/I/A impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

3
Patch available
Jul 07, 2026 - 06:16 EUVD
Analysis Generated
Jul 07, 2026 - 05:15 vuln.today
CVE Published
Jul 07, 2026 - 03:28 cve.org
HIGH 8.8

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.

AnalysisAI

OS command injection in Coolify, the open-source self-hostable server/application/database management PaaS, allows an authenticated user with permission to edit application settings (versions prior to 4.0.0-beta.469) to run arbitrary commands on the managed host. The flaw lives in the executeInDocker() helper, which wraps user-controlled values in single quotes without escaping embedded quotes, letting an attacker break out of the quoted shell context during deployments and escape the intended Docker container confinement. No public exploit identified at time of analysis; this is not listed in CISA KEV.

Technical ContextAI

Coolify is a Laravel/PHP-based self-hosted deployment platform (an open-source alternative to Heroku/Netlify) that orchestrates Docker containers on managed servers. The vulnerable executeInDocker() helper constructs shell command strings by naively wrapping user-supplied fields - specifically docker_compose_custom_build_command and docker_compose_custom_start_command - in single quotes. Because embedded single quotes are not escaped or sanitized, this is a classic CWE-78 (Improper Neutralization of Special Elements used in an OS Command) shell-metacharacter breakout: a payload containing a single quote terminates the intended quoted argument and appends attacker-controlled shell syntax. The injected command executes in the deployment context on the host operating system rather than inside the confined container.

RemediationAI

Vendor-released patch: upgrade Coolify to version 4.0.0-beta.469 or later, which fixes the improper quoting in executeInDocker(), as documented in advisory GHSA-j6j2-frv3-g6f7 (https://github.com/coollabsio/coolify/security/advisories/GHSA-j6j2-frv3-g6f7). If immediate upgrade is not possible, restrict who can edit application settings by tightening account provisioning and removing application-edit permissions from untrusted or non-administrative users, since exploitation requires that privilege (trade-off: limits legitimate self-service deployment configuration). As an additional compensating control, avoid granting Coolify management accounts to untrusted parties on shared/multi-tenant instances and audit the docker_compose_custom_build_command and docker_compose_custom_start_command fields for embedded single quotes or shell metacharacters (trade-off: manual review does not scale and can be bypassed by novel payloads). Isolating the Coolify host and monitoring deployment processes for unexpected child commands can help detect abuse until patched.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

CVE-2025-34221 CRITICAL POC
10.0 Sep 29

Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2

Share

CVE-2026-34158 vulnerability details – vuln.today

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