Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Coollabs | Coolify | < 4.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/0xrakan/coolify-cve-2025-66209-66213ExploitThird Party Advisory
- https://github.com/coollabsio/coolify/pull/7375Issue TrackingPatch
- 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
FAQ
What is CVE-2025-66213?
CVE-2025-66213 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 Storag...
How severe is CVE-2025-66213?
CVE-2025-66213 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-66213?
Check the references section above for vendor advisories and patch information. Affected products include: Coollabs Coolify.