CVE-2026-42145 Details
Description
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.
A vulnerability exists in Coolify versions prior to 4.0.0-beta.474, allowing authenticated users to upload arbitrary files through the database backup restore file upload endpoint. The issue arises because the endpoint lacks proper validation of file types and sizes, enabling the upload of unexpected or oversized files that could disrupt service availability. The vulnerability is compounded by predictable filename generation, which could be exploited if the uploaded files are later processed or served.
Users can update to Coolify version 4.0.0-beta.474 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 7, 2026CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/coollabsio/coolify/commit/e6a6446daeace2999fb77888a611a3271812911f | [email protected] | Source CodeVendor |
| https://github.com/coollabsio/coolify/pull/9667 | [email protected] | Source CodeVendor |
| https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 | [email protected] | Release NotesVendor |
| https://github.com/coollabsio/coolify/security/advisories/GHSA-66gv-g2w9-6wxp | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Coolify | < 4.0.0-beta.474 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2026 | New CVE Received | [email protected] |
Volerion