All vulnerabilities

Servers and applications

CVE-2026-34597

Authenticated Host RCE in Coolify v4

Severity
High 8.8
Published
25 Jun 2026
Last changed
25 Jun 2026
Added to UpHeron
22 Oct 2026
Fixed in
4.0.0-beta.470
Exploit chance
0.7% in the next 30 daysHigher than 52% 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-9pp4-wcmj-rq73
Sources
Project advisories (GitHub)

Description

A critical Authenticated Host Remote Code Execution (RCE) vulnerability was discovered in Coolify v4.0.0-beta.469. The flaw resides in the handling of user-defined build parameters for the Nixpacks build pack. Specifically, the install_command provided by a user is directly concatenated into a shell command string that is executed on the deployment host during the building phase. An attacker can leverage this to escape the intended build context and execute arbitrary commands with host-level privileges.

  • File: app/Jobs/ApplicationDeploymentJob.php (Line 2335)
  • Function: nixpacks_build_cmd()
  • Sink: executeInDocker() -> remote_process()

The vulnerability stems from an insecure command construction pattern. In the nixpacks_build_cmd method, several application configuration parameters, including install_command, are used to build a command-line string for the nixpacks binary.

From coollabsio/coolify's security advisory. Shortened; the full text is there.

Workarounds

All user-provided command strings MUST be properly escaped before being included in a shell command. Use escapeshellarg() for every argument.

Workarounds as given by coollabsio/coolify's security advisory.

Affected software

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

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