Skip to main content

Coolify CVE-2026-27957

| EUVDEUVD-2026-40334 HIGH
OS Command Injection (CWE-78)
2026-06-30 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 web UI
  2. Delivery
    Open CA Certificate management feature
  3. Exploit
    Submit certificate input with injected shell payload
  4. Execution
    Coolify runs command over SSH as root/docker user
  5. Persist
    Gain shell on managed host
  6. Impact
    Compromise host and all Docker containers

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

Requires an authenticated Coolify account (PR:L) with access to the CA Certificate management feature, and at least one server managed by Coolify whose configured SSH user is root or in the docker group - which is Coolify's documented/intended setup, so it is effectively the default operational condition. No user interaction is needed (UI:N) and the attack is fully network-reachable (AV:N) against the Coolify web interface. The principal limiting factor is the need for valid credentials: instances with a single trusted operator and no untrusted accounts face lower practical risk than multi-user or publicly registrable deployments.

Impact

Signals are largely consistent and point to genuine priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity attack requiring only a low-privileged authenticated account and no user interaction, with total confidentiality, integrity, and availability impact. The mitigating factor is PR:L - an attacker needs valid Coolify credentials, so this is most dangerous on shared/multi-tenant instances or where account credentials can be obtained. No EPSS score, KEV listing, or POC reference is provided in the input, so probabilistic exploitation likelihood and active-exploitation status are UNKNOWN rather than confirmed-low; absence of these signals should not be read as low risk given how trivially injection-class bugs are weaponized once an advisory is public. SSVC framework data (exploitation, automatable, technical impact) was not provided.

Exploit ScenarioDerived

An attacker with any valid Coolify account (or who has phished/compromised low-privilege credentials) navigates to the CA Certificate management feature and submits a certificate input crafted to embed a shell metacharacter payload. When Coolify processes it over SSH to a managed host, the injected command runs as the root/docker-group SSH user, giving the attacker a shell on the host and control of all containers. No public POC is referenced, but the low attack complexity (AC:L) means a working exploit is straightforward to develop from the advisory.

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

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

Alert me

AnalysisAIv1 – Jun 30, 2026

Authenticated command injection in Coolify's CA Certificate management feature (all versions prior to 4.0.0-beta.464) lets any logged-in user inject arbitrary OS commands that execute as the configured SSH user on a managed server. Because Coolify requires that SSH user to be root or a docker-group member, successful exploitation yields full compromise of the managed host and every Docker container it runs. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV, but the low attack complexity and minimal privilege requirement make it a high-priority patch for any multi-user Coolify instance.

RemediationAI

Vendor-released patch: 4.0.0-beta.464 - upgrade all Coolify instances to 4.0.0-beta.464 or later as the primary fix, following the GitHub Security Advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-7g97-c4xv-3cjx. If immediate patching is not possible, reduce exposure by tightly restricting who holds authenticated Coolify accounts and removing or disabling non-essential low-privilege users, since exploitation requires authentication; avoid using the CA Certificate management feature until patched. As a defense-in-depth trade-off, consider running the managed-server SSH user with the least privilege Coolify can tolerate (note that Coolify documents needing root or docker-group membership, so de-privileging may break orchestration functionality), and network-restrict the Coolify web UI to trusted management networks/VPN to limit who can reach the vulnerable endpoint at all.

Affected VersionsENISA

coolify < 4.0.0-beta.464

Affected Packages

euvd coolify fix: 4.0.0-beta.464

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 a self-hostable PaaS (an open-source alternative to Heroku/Netlify) that orchestrates servers, applications, and databases over SSH and Docker. The flaw is a classic OS Command Injection (CWE-78): user-controlled input in the CA Certificate management workflow is passed into a shell context on the target host without adequate sanitization or argument isolation. Coolify executes management actions by SSH-ing into managed servers as a privileged account, so the injected command inherits that account's rights. The single affected product per CPE is cpe:2.3:a:coollabsio:coolify, and the tags (Docker, Command Injection) confirm the root cause is shell-level injection in a Docker-centric control plane.

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 feature (AV:N) with trivial injection (AC:L) needs a low-privileged authenticated account (PR:L), no interaction (UI:N), and yields full host compromise (C/I/A:H).

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

2
Patch available
Jun 30, 2026 - 16:01 EUVD
CVE Published
Jun 30, 2026 - 14:39 cve.org
HIGH 8.8

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.464, an authenticated command injection vulnerability in the CA Certificate management feature allows any authenticated user to execute arbitrary commands as the configured SSH user on the managed server host. As the SSH user typically would have to either be root or part of the docker group for Coolify to function as intended, this provides complete compromise of the managed server and associated docker containers. This vulnerability is fixed in 4.0.0-beta.464.

Executive ViewAI

Why It Matters

Coolify, a server management platform, contains a high-severity authenticated command injection flaw in its CA Certificate management feature that allows any logged-in user to execute arbitrary operating system commands on managed infrastructure. Due to Coolify's typical deployment with root or Docker group privileges, successful exploitation results in complete compromise of the affected server and all containerized applications it hosts. Organizations operating multi-user Coolify instances should treat this as a priority remediation target to prevent unauthorized control of production infrastructure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce strict authentication-restrict Coolify user access to essential administrators only; (2) Implement network segmentation to limit lateral movement if a managed host is compromised; (3) Enable comprehensive audit logging of all CA Certificate management operations; (4) Monitor vendor advisories continuously for patch availability and prepare rapid deployment procedures.

Threat Intelligence Overview

EPSS Score
0.7%
Top 53% exploitable
Prevalence
Medium
popular open-source self-hosted PaaS, moderate but not enterprise-ubiquitous footprint
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 No
EPSS 0.7%
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

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
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.

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-2026-34597 HIGH POC
8.8 Jun 29

Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica

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