Skip to main content

Coolify CVE-2026-42201

| EUVDEUVD-2026-41999 LOW
OS Command Injection (CWE-78)
2026-07-07 GitHub_M
3.3
CVSS 3.1 · Vendor: GitHub_M

Severity by source

Vendor (GitHub_M) PRIMARY
3.3 LOW
AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
vuln.today AI
3.3 LOW

Admin credentials required (PR:H) and YAML-plus-shell payload crafting complexity (AC:H) dominate; container-scoped limited reads and writes justify C:L/I:L with no availability impact.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Jul 07, 2026 - 06:16 EUVD
Analysis Generated
Jul 07, 2026 - 05:17 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, database credential fields (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.

AnalysisAI

OS command injection in Coolify's database service configuration API allows authenticated administrators to execute arbitrary shell commands within Docker container contexts by embedding shell metacharacters into database credential fields. All Coolify versions prior to 4.0.0-beta.474 are affected, covering deployments managing Redis, KeyDB, Dragonfly, ClickHouse, PostgreSQL, and MySQL services. No public exploit code has been identified at time of analysis, and the CVSS PR:H requirement confines the attack surface to already-privileged admin accounts, positioning this as a post-compromise escalation risk rather than an initial access vector.

Technical ContextAI

Coolify is an open-source self-hosting management platform (CPE: cpe:2.3:a:coollabsio:coolify) that provisions and orchestrates Docker-based applications and databases. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). Credential fields - redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, and mysql_user - are validated only as generic string types at the API layer without any shell-safety filtering. These raw values are then interpolated verbatim into Docker Compose YAML command: strings, which the Docker daemon executes when containers are created or restarted. Because the YAML command: key passes its value through a shell, embedded metacharacters such as semicolons, backticks, or $() subshells are interpreted as OS-level commands in the container execution context. The fix introduced in commit bff6d853708f3d7c861279586f107739036e67da adds shell-safe escaping or validation to these fields before YAML interpolation.

RemediationAI

Upgrade to Coolify version 4.0.0-beta.474 or later, which resolves the injection vulnerability per the vendor security advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36v and the corresponding code fix in commit bff6d853708f3d7c861279586f107739036e67da (https://github.com/coollabsio/coolify/pull/9676). As a compensating control prior to patching, audit all existing database credential field values in your Coolify instance for embedded shell metacharacters (semicolons, backticks, dollar-sign subshells, pipe characters) and sanitize any anomalous values. Additionally, restrict Coolify API and UI access to the minimum necessary administrator accounts using network-level ACLs or authentication gating - this reduces the attacker pool but does not eliminate the vulnerability itself. Enabling Docker daemon logging and monitoring container startup commands for unexpected shell executions can serve as a detection layer. Note that neither network restriction nor credential auditing constitutes a full fix; patching to beta.474 is the only remediation.

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-42201 vulnerability details – vuln.today

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