All vulnerabilities

Servers and applications

CVE-2026-34057

Authenticated Remote Code Execution via Command Injection in Database Import Container Name

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
Weakness
OS command injection (CWE-78)
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-6r3g-w7x8-54fj
Sources
Project advisories (GitHub)

Description

An authenticated command injection vulnerability in the Database Import functionality allows users with team membership (lowest privilege role) to execute arbitrary commands as root on managed servers. The $container Livewire public property is interpolated directly into shell commands (docker exec, docker cp) without sanitization, and can be modified by any client via the Livewire wire protocol because it lacks the #[Locked] attribute.

This is a bypass of the fix for GHSA-q33h-22xm-4cgh, which added validateServerPath() to sanitize file path inputs but left the $container parameter completely unvalidated.

The $serverId property also lacks #[Locked] and uses Server::find() with no team scoping. Server IDs are sequential integers. An attacker can override serverId to target servers belonging to other teams while keeping resourceId/resourceType pointing to their own resource to pass the authorization check on line 410.

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