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

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-07-07T03:03:58.895Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-434, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.474

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-66gv-g2w9-6wxp>
- <https://github.com/coollabsio/coolify/pull/9667>
- <https://github.com/coollabsio/coolify/commit/e6a6446daeace2999fb77888a611a3271812911f>
- <https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474>

## Sources

- CVE List: [CVE-2026-42145](https://www.cve.org/CVERecord?id=CVE-2026-42145), CVE Terms of Use, modified 2026-07-09
- NVD: [CVE-2026-42145](https://nvd.nist.gov/vuln/detail/CVE-2026-42145), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42145 · Whole record: https://cve.day/CVE-2026-42145.json · Rebuilt by cve.day 2026-11-25T22:59:27.279Z
