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.
Workarounds
All user-provided command strings MUST be properly escaped before being included in a shell command. Use escapeshellarg() for every argument.
Affected software
| Software | Affected versions |
|---|---|
CoolifyServers and applications · github:coollabsio/coolify |
|
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.
- 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
Source code Website Docker image
Vulnerabilities in Coolify
- In our list
- 74
- Published in the last 12 months
- 62
- Critical, last 12 months
- 12
- High, last 12 months
- 28
- Known exploited
- 0
- CVE-2026-121587Coolify before 4.1.1 Application Name Enumeration via Manual Webhook EndpointsMedium 6.9 3 Nov 2026
- CVE-2026-34037Cross-Tenant Resource Cloning via Broken Object-Level Authorization in cloneTo()Critical 9.9 2 Jul 2026
- CVE-2026-34035Host RCE via Log Drain secret/env command injectionHigh 8.8 2 Jul 2026
- CVE-2026-34034Host RCE via Sentinel token injectionHigh 8.8 2 Jul 2026
- CVE-2026-34044Cross-team IDOR in logs component (resource lookup not team-scoped)High 7.7 2 Jul 2026
- CVE-2026-32718API ability mismatch allows mutation with `read` tokenMedium 6.5 2 Jul 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-34597
- GitHub Advisory Database https://github.com/advisories/GHSA-9pp4-wcmj-rq73
- github.com https://github.com/coollabsio/coolify/security/advisories/GHSA-9pp4-wcmj-rq73