All vulnerabilities

Servers and applications

CVE-2026-34058

OS Command Injection via Unmanaged Container Operations - Remote Code Execution

Severity
High 8.8
Published
2 Jul 2026
Last changed
2 Jul 2026
Added to UpHeron
22 Oct 2026
Fixed in
4.0.0-beta.471
Exploit chance
0.4% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-rh5x-qx77-fq9v
Sources
Project advisories (GitHub)

Description

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.

app/Livewire/Server/Resources.php (lines 30–48)

No validation, no sanitization, no escapeshellarg() on the $id parameter.

app/Models/Server.php (lines 720–733)

The $id is directly interpolated into the shell command string, which is then executed via SSH on the remote managed server through instant_remote_process().

  • A Coolify instance with at least one managed server
  • An authenticated user account with access to the server's resources page (any team member)
From coollabsio/coolify's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
CoolifyServers and applications · github:coollabsio/coolify
  • Every version before 4.0.0-beta.471

About Coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

From its GitHub repository.
Docker Hub pulls
4,970,195Docker Hub, 15 Nov 2026
GitHub stars
66,095GitHub, 15 Nov 2026
Forks
5,989GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
25 Jan 2021GitHub

References