Severity by source
AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
PR:H for required database management role; S:C with C/I/A:H because arbitrary OS command execution reaches managed servers outside Coolify's own security boundary.
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.471, DatabaseBackupJob interpolates user-controlled database credentials and MongoDB collection exclusion names into backup shell commands without adequate escaping, allowing an authenticated user with database management permissions to execute commands on managed servers. This issue is fixed in version 4.0.0-beta.471.
AnalysisAI
Command injection in Coolify's DatabaseBackupJob allows authenticated users holding database management permissions to execute arbitrary OS commands on managed servers by embedding shell metacharacters in database credentials or MongoDB collection exclusion names. All Coolify releases prior to 4.0.0-beta.471 are affected. No public exploit code has been identified at time of analysis and the vulnerability is absent from CISA KEV; however, the practical impact substantially exceeds the official CVSS 3.3 Low rating because successful exploitation grants attacker-controlled shell execution on production infrastructure managed by the platform.
Technical ContextAI
Coolify (CPE: cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:*) is an open-source, self-hostable PaaS that orchestrates servers, applications, and databases via a web interface. Its DatabaseBackupJob component constructs shell commands to perform database backup operations and directly interpolates user-supplied values - specifically database credentials and MongoDB collection exclusion names - into those commands without sanitization or shell escaping. This is a textbook CWE-78 (Improper Neutralization of Special Elements used in an OS Command) flaw: shell metacharacters present in those inputs (semicolons, backticks, pipe characters, command substitution syntax) are interpreted by the invoking shell rather than treated as literal data. Because Coolify operates as a management plane that issues commands against remote servers, the injection point executes in the context of managed infrastructure rather than solely on the Coolify host itself.
RemediationAI
Upgrade Coolify to version 4.0.0-beta.471 or later, which addresses the injection via commits 952f3247970d261ff93f85c79066192f58f9557e and 99043600ee881fd8581185e7590604d9882382cd as documented at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471. If an immediate upgrade cannot be performed, restrict database management permissions exclusively to fully trusted administrators, eliminating the attacker role needed for exploitation - note this is a compensating control only and does not fix the underlying flaw. Additionally, audit all database credentials currently stored in Coolify for shell metacharacters (such as ;, |, $(), and backticks) and review recent backup job execution logs on managed servers for anomalous command output. Removing the MongoDB exclusion-name functionality from lower-privileged users is a targeted workaround if the feature is not operationally required.
Coolify, a self-hosted server management platform, allows authenticated users to inject OS commands through the Git Repo
A command injection vulnerability in Coolify's Database Backup functionality allows authenticated users with application
Coolify through v4.0.0-beta.434 exposes the root user's SSH private key to low-privileged team members. Any user with ba
Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,
Coolify before 4.0.0-beta.445 allows command injection through docker-compose.yaml parameters. If a victim creates an ap
Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo
Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d
Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss
Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. [CVSS 8.8 HIGH]
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0
An authenticated command injection vulnerability in Coolify's PostgreSQL initialization script handling allows attackers
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41989