Executive brief
Coolify, an open-source platform for deploying web applications and databases, is vulnerable to a security flaw that allows users with low-level access to take full control of the server. By entering a specially crafted string into the Git Repository field during project setup, an attacker can execute unauthorized commands on the underlying host system. This could lead to the theft of sensitive data, service outages, or complete server compromise.
Technical details
A remote code execution (RCE) vulnerability exists in Coolify's project deployment workflow due to improper neutralization of special elements used in OS commands (CWE-78). Authenticated users with low-level 'member' privileges can inject arbitrary shell commands via the Git Repository URL field when creating a new project. The application fails to properly sanitize this input before passing it to the underlying system shell during the deployment process. An attacker can exploit this by submitting a crafted repository string (e.g., using semicolons or command substitution) to execute arbitrary code on the host server. The issue is resolved in version v4.0.0-beta.420.7.
Affected products
- coollabsio Coolify prior to v4.0.0-beta.420.7
Timeline
- 2025-08-26: patched: Version v4.0.0-beta.420.7 released
- 2025-08-27: advisory: CVE-2025-34161 published