Vulnerability · Published Dec 23, 2025 · Assigned by GitHub_M
CVE-2025-66213Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in File Storage Directory Mount Path
Critical 9.4
In plain English
A critical-severity OS command injection in coolify from coollabsio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.3% (higher than 89% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.451 |
Weakness: CWE-78 · 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
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-cj2c-9jx8-j427 x_refsource_CONFIRM
- https://github.com/coollabsio/coolify/pull/7375 x_refsource_MISC
- https://github.com/0xrakan/coolify-cve-2025-66209-66213 x_refsource_MISC
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.451 x_refsource_MISC