CVE-2025-66211
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.77%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 9.4 CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 2.77% probability · 86th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- coollabs/coolify
- Source
- security-advisories@github.com
References
- https://github.com/0xrakan/coolify-cve-2025-66209-66213Exploit, Third Party Advisory
- https://github.com/coollabsio/coolify/pull/7375Issue Tracking
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451Release Notes
- https://github.com/coollabsio/coolify/security/advisories/GHSA-24mp-fc9q-c884
- https://github.com/coollabsio/coolify/security/advisories/GHSA-24mp-fc9q-c884
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.