What’s Vulnerable › Vulnerabilities

CVE-2025-66213: Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in File Storage Directory Mount Path

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.

Affected products

How to fix

Upgrade to a fixed version: coollabsio coolify 4.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66213 or the next vulnerability affects your stack