CVE-2026-42200 Coolify: PostgreSQL Init Script Path Traversal Leads to Arbitrary File Write and Root RCE
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
coollabsio
coolify
영향 받는 버전
- 4.0.0-beta.474 미만
해결 버전
- 4.0.0-beta.474 이상
참고 자료 4건
- github.com https://github.com/coollabsio/coolify/commit/1cf6c7d0aef8e0edb800ae43f44ded102397cb13 (새 창)
- github.com https://github.com/coollabsio/coolify/pull/9681 (새 창)
- github.com https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 (새 창)
- github.com https://github.com/coollabsio/coolify/security/advisories/GHSA-mv4c-9x67-rrmv (새 창)