Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable UI/API with only authenticated team-member access (PR:L) and no user interaction; injected command yields full host code execution, giving high C/I/A.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.
Articles & Coverage 1
AnalysisAI
OS command injection in Coolify (self-hosted server/app/database management platform) versions 4.0.0-beta.471 through 4.0.0-beta.473 lets an authenticated team member run arbitrary shell commands on the underlying host. A regression weakened the SHELL_SAFE_COMMAND_PATTERN allowlist so that ampersands were permitted in custom Docker Compose build, start, and pre/post-deployment command fields, enabling command chaining. The issue is fixed in 4.0.0-beta.474; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
Technical ContextAI
Coolify is an open-source, self-hostable PaaS-style controller that provisions and deploys applications, databases, and services onto managed servers, largely by orchestrating Docker and Docker Compose. To let users customize deployments, it exposes free-text fields for custom Docker Compose build/start commands and pre/post-deployment hooks, which are ultimately passed to a shell on the host. To constrain this, Coolify uses an input allowlist named SHELL_SAFE_COMMAND_PATTERN. The vulnerability is a CWE-78 (OS Command Injection) flaw introduced as a regression in that pattern: it began accepting the ampersand metacharacter, which the shell interprets for background execution and command sequencing (e.g., &&, &), breaking the intended sandboxing of the supplied command string. The affected code is identified by CPE cpe:2.3:a:coollabsio:coolify and was corrected in PR #9684 / commit e1aac50.
RemediationAI
Vendor-released patch: upgrade to Coolify 4.0.0-beta.474 (https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474), which restores the correct SHELL_SAFE_COMMAND_PATTERN via PR #9684 (https://github.com/coollabsio/coolify/pull/9684) and commit e1aac50b745cf499e710b7e35cd2a9d6a1538dd9. As a compensating control until patched, restrict who holds team membership and edit rights on projects so untrusted users cannot modify custom Docker Compose build/start or pre/post-deployment command fields, and audit those fields for injected ampersand/command-chaining sequences; the trade-off is reduced self-service for legitimate operators. Rotating or tightening team-member credentials and limiting network exposure of the Coolify UI/API further reduces the authenticated-attacker surface. Details are in advisory GHSA-chg4-63hm-xv9x (https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x).
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41955