Coolify
Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in PostgreSQL Init Script Filename
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.451, an authenticated command injection vulnerability in PostgreSQL Init Script Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. PostgreSQL initialization script filenames are passed to shell commands without proper validation, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.0.0-beta.451
Fixed in 4.0.0-beta.451
Mitigation
Upgrade coolify to 4.0.0-beta.451 or later.
References
- Vendor advisory github.com/coollabsio/coolify/security/advisor…
- Patch github.com/coollabsio/coolify/pull/7375
- Release notes github.com/coollabsio/coolify/releases/tag/v4.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xrakan/coolify-cve-2025-66209-66213 | 23 Dec 2025 −20 h | 1 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.