CVE-2026-34058: Coolify: OS Command Injection via Unmanaged Container Operations - Remote Code Execution
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, the Livewire component Server\Resources exposes public methods (startUnmanaged, stopUnmanaged, restartUnmanaged) that accept a container ID parameter directly from the browser without any sanitization or escaping. This parameter is interpolated directly into shell commands executed via SSH on managed servers, enabling any authenticated team member to execute arbitrary OS commands on remote servers. This issue is fixed in version 4.0.0-beta.471.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Coolifyto a version that resolves this vulnerability.Fixed in 4.0.0-beta.471
Event History
Frequently Asked Questions
What is the severity of CVE-2026-34058?
CVE-2026-34058 has a high severity rating of 8.8.
How do I fix CVE-2026-34058?
To fix CVE-2026-34058, update your Coolify installation to version 4.0.0-beta.471 or later.
What type of vulnerability is CVE-2026-34058?
CVE-2026-34058 is an OS Command Injection vulnerability that can lead to Remote Code Execution.
What components of Coolify are affected by CVE-2026-34058?
The Livewire component of Coolify is affected by CVE-2026-34058, specifically the public methods for unmanaged container operations.
What impact does CVE-2026-34058 have on security?
CVE-2026-34058 allows an attacker to execute arbitrary commands on the server, leading to potential full compromise.