{"id":"CVE-2026-42145","state":"PUBLISHED","title":"Coolify: File Upload Without Type or Size Validation in Database Backup Restore","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.","publishedAt":"2026-07-07T03:03:58.895Z","updatedAt":"2026-07-09T14:43:05.636Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["coollabsio coolify"],"affected":[{"vendor":"coollabsio","product":"coolify","versions":[{"version":"< 4.0.0-beta.474","status":"affected"}]}],"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"],"weaknesses":["CWE-434","CWE-770"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42145","state":"PUBLISHED","datePublished":"2026-07-07T03:03:58.895Z","dateUpdated":"2026-07-09T14:43:05.636Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-24T17:15:21.834Z"},"containers":{"cna":{"title":"Coolify: File Upload Without Type or Size Validation in Database Backup Restore","descriptions":[{"lang":"en","value":"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":[{"vendor":"coollabsio","product":"coolify","versions":[{"version":"< 4.0.0-beta.474","status":"affected"}]}],"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-66gv-g2w9-6wxp","name":"https://github.com/coollabsio/coolify/security/advisories/GHSA-66gv-g2w9-6wxp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coollabsio/coolify/pull/9667","name":"https://github.com/coollabsio/coolify/pull/9667","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/commit/e6a6446daeace2999fb77888a611a3271812911f","name":"https://github.com/coollabsio/coolify/commit/e6a6446daeace2999fb77888a611a3271812911f","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","name":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-07T03:03:58.895Z"},"source":{"advisory":"GHSA-66gv-g2w9-6wxp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T14:21:17.298839Z","id":"CVE-2026-42145","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T14:43:05.636Z"}}]}}}