RCE in Coollabs Coolify
CVE-2025-66213
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.033, 88.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Coollabs Coolify — versions 4.0.0
- Coollabsio Coolify — versions < 4.0.0-beta.451
Weakness classification (CWE)
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-cj2c-9jx8-j427
- https://github.com/coollabsio/coolify/pull/7375 (Patch, Issue Tracking)
- https://github.com/0xrakan/coolify-cve-2025-66209-66213 (Exploit, Third Party Advisory)
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451 (Release Notes)