CVE-2026-34597
Deferred Deferred - Pending Action

Authenticated RCE in Coolify via Nixpacks Build Parameters

Vulnerability report for CVE-2026-34597, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-30

Assigner: GitHub, Inc.

Description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.470, a critical Authenticated Host Remote Code Execution (RCE) vulnerability was discovered in Coolify. 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. This vulnerability is fixed in 4.0.0-beta.470.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-30
Generated
2026-07-20
AI Q&A
2026-06-30
EPSS Evaluated
2026-07-18
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
coolify coolify to 4.0.0-beta.470 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in Coolify, an open-source tool for managing servers, applications, and databases. Before version 4.0.0-beta.470, there was a critical security flaw in how Coolify handled user-defined build parameters for the Nixpacks build pack.

Specifically, the install_command provided by a user was directly concatenated into a shell command string that runs on the deployment host during the build phase. Because of this, an attacker could manipulate the install_command to escape the intended build context and execute arbitrary commands on the host with elevated privileges.

This type of vulnerability is known as an Authenticated Host Remote Code Execution (RCE) vulnerability and was fixed in version 4.0.0-beta.470.

Detection Guidance

This vulnerability can be detected by checking if your Coolify installation is running a vulnerable version (prior to 4.0.0-beta.470) and by inspecting project configurations for malicious or suspicious entries in the user-defined build parameters, specifically the install_command field.

Since the vulnerability involves command injection via the install_command parameter during deployment, you can look for unusual or unexpected shell commands being executed on the host during build phases.

Suggested commands to detect potential exploitation or presence of malicious payloads include:

  • Check the Coolify version installed: `coolify --version` or check the deployment environment for the version number.
  • Search for suspicious install_command entries in project configurations or deployment files, for example by grepping for suspicious characters or command injection patterns: `grep -r 'install_command' /path/to/coolify/projects | grep -E '[;"\'`
  • Monitor running processes or recent shell commands executed during deployment for unexpected network connections or reverse shells, e.g., `ps aux | grep bash` or `netstat -anp | grep ESTABLISHED` to detect unusual outbound connections.
  • Check logs for deployment commands or errors that might indicate command injection attempts.
Impact Analysis

This vulnerability allows an attacker with authenticated access to execute arbitrary commands on the deployment host with host-level privileges.

The impact includes potential full system compromise, unauthorized access to sensitive data, disruption of services, and the ability to install malware or create persistent backdoors.

Because the attacker can execute commands at the host level, the security and integrity of the entire system and any applications or data it manages are at risk.

Compliance Impact

The vulnerability allows an authenticated attacker to execute arbitrary commands with host-level privileges, potentially leading to unauthorized access to sensitive data and system compromise.

Such unauthorized access and potential data breaches could negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of sensitive data and system integrity.

However, the provided information does not explicitly discuss the direct effects on compliance with these standards.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Coolify to version 4.0.0-beta.470 or later, where the issue has been fixed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-34597. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart