{"id":"CVE-2025-66213","published":"2025-12-23T22:06:38Z","modified":"2026-03-17T16:16:15Z","title":"Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in File Storage Directory Mount Path","vendor":"coollabsio","product":"coolify","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04418,"percentile":0.92118,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-cj2c-9jx8-j427","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coollabsio/coolify/pull/7375","tags":["x_refsource_MISC"]},{"url":"https://github.com/0xrakan/coolify-cve-2025-66209-66213","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451","tags":["x_refsource_MISC"]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":18.42},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"coollabsio","affectedVersions":[{"vendor":"coollabsio","product":"coolify","versions":["< 4.0.0-beta.451"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-17T16:15:43.621819Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-204954","exploited":false,"provenance":"source"}}