Unrated severityOSV Advisory· Published Dec 23, 2025· Updated Mar 17, 2026
Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in PostgreSQL Init Script Filename
CVE-2025-66211
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
24.0.0-beta.39, 4.0.0-beta.40, v1.0.0, …+ 1 more
- (no CPE)range: 4.0.0-beta.39, 4.0.0-beta.40, v1.0.0, …
- (no CPE)range: <4.0.0-beta.451
Patches
Vulnerability mechanics
References
3- github.com/coollabsio/coolify/pull/7375mitrex_refsource_MISC
- github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451mitrex_refsource_MISC
- github.com/coollabsio/coolify/security/advisories/GHSA-24mp-fc9q-c884mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.