Severity by source
AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
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-41999