CVE-2026-34058 Coolify: OS Command Injection via Unmanaged Container Operations - Remote Code Execution

High 8.8 Published Updated

Authenticated users can execute arbitrary OS commands on managed servers via unsanitized container IDs in Coolify.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-34058?

CVE-2026-34058 is a high-severity command injection vulnerability in coollabsio coolify, published on 7 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-78

Which versions are affected by CVE-2026-34058?

How do I fix CVE-2026-34058?

No fix has been published for CVE-2026-34058 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-34058 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34058 exists.

Sources

Also known as GHSA-rh5x-qx77-fq9v.

Is CVE-2026-34058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free