CVE Explorer
CVE-2026-42200
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, PostgreSQL initialization script (generate_init_scripts() method in app/Actions/Database/StartPostgresql.php) filename handling did not sufficiently restrict paths, allowing an authenticated user to write files outside the intended directory and achieve command execution through database initialization. This issue is fixed in version 4.0.0-beta.474.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"coolify","vendor":"coollabsio","versions":[{"status":"affected","version":"< 4.0.0-beta.474"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/coollabsio/coolify/commit/1cf6c7d0aef8e0edb800ae43f44ded102397cb13","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/commit/1cf6c7d0aef8e0edb800ae43f44ded102397cb13"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/references/2
{"name":"https://github.com/coollabsio/coolify/pull/9681","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/pull/9681"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/references/1
{"name":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/references/3
{"name":"https://github.com/coollabsio/coolify/security/advisories/GHSA-mv4c-9x67-rrmv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-mv4c-9x67-rrmv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-mv4c-9x67-rrmv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5e33b7dff6043f707eaa949035dd0d1d50efec459b5a4a631172e3060bfc1e91 · sha256:effe04e52beefca1… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.