CVE-2026-42145: Coolify: File Upload Without Type or Size Validation in Database Backup Restore

Published Jul 7, 2026
·
Updated

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

1 affected component
Coolify<4.0.0-beta.474

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Coolify to a version that resolves this vulnerability.

    Fixed in 4.0.0-beta.474

Event History

Jul 7, 2026
CVE Published
via MITRE·03:03 AM
Data Sourced
via MITRE·03:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42145?

The severity of CVE-2026-42145 is low, rated at 3.1.

2

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.

3

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.

4

What type of vulnerability is CVE-2026-42145 categorized as?

CVE-2026-42145 is categorized as a Malicious File Upload vulnerability.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203