CVE-2025-66213
Prior to version 4.0.0-beta.451, an authenticated command injection vulnerability in the File Storage Directory Mount Path functionality 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 (3.19%). 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 the File Storage Directory Mount Path functionality allows users with application/service management permissions to execute arbitrary commands as root on managed servers. The file_storage_directory_source parameter is passed directly to shell commands without proper sanitization, enabling full remote code execution on the host system. 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
- 3.19% probability · 87th 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, Patch
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451Release Notes
- https://github.com/coollabsio/coolify/security/advisories/GHSA-cj2c-9jx8-j427
- https://github.com/coollabsio/coolify/security/advisories/GHSA-cj2c-9jx8-j427
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.