CVE-2026-42145: Coolify: File Upload Without Type or Size Validation in Database Backup Restore
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Coolifyto a version that resolves this vulnerability.Fixed in 4.0.0-beta.474
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42145?
The severity of CVE-2026-42145 is low, rated at 3.1.
What are the risks associated with CVE-2026-42145?
CVE-2026-42145 poses risks related to malicious file uploads without proper type or size validation.
How can I protect myself from CVE-2026-42145?
To protect against CVE-2026-42145, ensure you are using Coolify version 4.0.0-beta.474 or later where the vulnerability has been addressed.
What type of vulnerability is CVE-2026-42145 categorized as?
CVE-2026-42145 is categorized as a Malicious File Upload vulnerability.
How does CVE-2026-42145 affect database backups in Coolify?
CVE-2026-42145 affects database backups in Coolify by allowing unauthorized file uploads due to a lack of validation on the upload endpoint.