CVE-2025-66213
JSON

9.4critical

Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in File Storage Directory Mount Path

Severity
9.4critical CVSS:4.0 by GitHub_M
Exploit likelihood
3.25% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
coollabsio coolify< 4.0.0-beta.451CVE List
coollabs coolifybefore 4.0.0, 4.0.0NVD

All scores

GitHub_M9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Coolify es una herramienta de código abierto y auto?alojable para gestionar servidores, aplicaciones y bases de datos. Versiones anteriores a 4.0.0-beta.451, una vulnerabilidad de inyección de comandos autenticada en la funcionalidad de ruta de montaje del directorio de almacenamiento de archivos permite a usuarios con permisos de gestión de aplicaciones y servicios ejecutar comandos arbitrarios como root en los servidores gestionados. El parámetro file_storage_directory_source se pasa directamente a comandos de shell sin la sanitización adecuada, lo que permite una ejecución remota de código (RCE) completa en el sistema host. La versión 4.0.0-beta.451 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66213 changed 2026-03-17CVE Terms of Use
NVDCVE-2025-66213 changed 2026-10-19Public domain