Skip to main content

Coolify CVE-2026-42145

| EUVDEUVD-2026-41985 LOW
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-07-07 GitHub_M
3.1
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 interface
  2. Delivery
    Navigate to database backup restore feature
  3. Exploit
    Upload oversized or arbitrary file type
  4. Execution
    Fill available disk on host
  5. Impact
    Degrade Coolify service availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

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 valid authenticated session in Coolify, specifically an account with access to the database backup restore feature (CVSS PR:L). The attacker must be able to reach the Coolify web interface over the network (AV:N). No special configuration is needed beyond having a user account - the vulnerable endpoint is part of standard Coolify functionality. Exploitation is limited to availability impact only; confidentiality and integrity are unaffected (C:N/I:N per CVSS), ruling out data exfiltration or code execution via this path. The CVSS AC:H rating indicates the vendor considers successful availability impact to be subject to deployment-specific conditions such as available disk capacity. Externally unauthenticated users cannot exploit this vulnerability.

Impact

The CVSS 3.1 base score of 3.1 with vector AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L reflects limited real-world severity: exploitation requires authenticated access (PR:L), yields only low availability impact (A:L), and the vendor assessed high attack complexity (AC:H). There is no CISA KEV listing and no public proof-of-concept exploit, reinforcing that this is not under active exploitation. No EPSS score was provided in the source data, so exploitation probability cannot be quantified numerically. The confidentiality and integrity impact are both None, meaning this cannot be used for data theft or system compromise - only service disruption. The NVD-assigned AC:H is notable and likely reflects that successful exploitation to materially affect availability may depend on storage constraints of the specific deployment. This is a real but low-priority finding: the authenticated barrier and narrow impact make it a hardening item rather than an emergency patch.

Exploit ScenarioDerived

An authenticated Coolify user - such as a low-privileged team member with restore access - submits a multi-gigabyte file to the backup restore upload endpoint without restriction. The server accepts and stores the payload, exhausting available disk space on the host and disrupting Coolify's ability to manage databases and applications for other users. No public proof-of-concept exists for this vulnerability.

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

Coolify's database backup restore file upload endpoint accepts uploads without enforcing any file type or size constraints, enabling an authenticated user to degrade service availability by uploading oversized or unexpected files. All releases prior to 4.0.0-beta.474 are affected per CPE cpe:2.3:a:coollabsio:coolify. No public exploit code exists and the vulnerability is not listed in CISA KEV; with a CVSS score of 3.1 and availability-only impact, this represents a low-priority issue for most operators, especially given the authenticated access requirement.

RemediationAI

Upgrade to Coolify version 4.0.0-beta.474 or later, available at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474. The fix was implemented via pull request #9667 (https://github.com/coollabsio/coolify/pull/9667) and committed in e6a6446daeace2999fb77888a611a3271812911f, which introduces file type and size validation to UploadController.php. If an immediate upgrade is not feasible, operators should restrict access to the backup restore upload endpoint at the network or reverse-proxy layer, limiting it to trusted internal IP ranges only - this trades some operational convenience for a meaningful reduction in exposure surface. Additionally, enforcing OS-level disk quotas on the Coolify host can cap the blast radius of any oversized upload, though it does not address the underlying validation gap.

Affected VersionsENISA

coolify < 4.0.0-beta.474

Affected Packages

euvd coolify fix: 4.0.0-beta.474

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 PHP-based, self-hostable DevOps management platform that allows users to manage servers, applications, and databases through a web interface. The vulnerable component is app/Http/Controllers/UploadController.php, the Laravel controller handling file uploads specifically for the database backup restore feature. CWE-434 (Unrestricted Upload of File with Dangerous Type) describes the root cause: the endpoint performs no server-side MIME type validation and imposes no file size limit before persisting the upload. This means any file - regardless of type or size - is accepted, creating a path to disk exhaustion or potential processing of malformed data by the restore pipeline. The CPE cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:* confirms all Coolify versions prior to the fix are affected.

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.1 LOW
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 4.3 MEDIUM

Network-accessible endpoint requires only a valid authenticated session; uploading an oversized file involves no meaningful attack complexity beyond authentication.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

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.474, the file upload endpoint (app/Http/Controllers/UploadController.php) for database backup restore uploads did not enforce file type or size validation, allowing an authenticated user to upload unexpected or oversized files that could affect service availability. This issue is fixed in version 4.0.0-beta.474.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche self-hostable DevOps tool, limited enterprise 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
Defer
Exploitation
None
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

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

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