Vulnerability · Published Jul 7, 2026 · Assigned by GitHub_M
CVE-2026-34058Coolify: OS Command Injection via Unmanaged Container Operations - Remote Code Execution
High 8.8
In plain English
A high-severity OS command injection in coolify from coollabsio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.471 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-rh5x-qx77-fq9v x_refsource_CONFIRM
- https://github.com/coollabsio/coolify/pull/9172 x_refsource_MISC
- https://github.com/coollabsio/coolify/commit/944a038349216f00b390e905c121355adc8b23c1 x_refsource_MISC
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471 x_refsource_MISC