Coolify: File Upload Without Type or Size Validation in Database Backup Restore
Summary
| CVE | CVE-2026-42145 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-07 04:17:51 UTC |
| Updated | 2026-07-09 16:16:41 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 3.1 LOW from [email protected]
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS: 0.002500000 probability, percentile 0.161960000 (date 2026-07-13)
Problem Types: CWE-434 | CWE-770 | CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type | CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.1 | LOW | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 3.1 | LOW | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Coollabsio | Coolify | affected < 4.0.0-beta.474 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/coollabsio/coolify/commit/e6a6446daeace2999fb77888a611a327181... | [email protected] | github.com | |
| github.com/coollabsio/coolify/security/advisories/GHSA-66gv-g2w9-6wxp | [email protected] | github.com | |
| github.com/coollabsio/coolify/pull/9667 | [email protected] | github.com | |
| github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.