CVE-2025-66213
Unknown Unknown - Not Provided

Command Injection in Coolify File Storage Enables Root RCE

Vulnerability report for CVE-2025-66213, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-23

Last updated on: 2026-03-17

Assigner: GitHub, Inc.

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-23
Last Modified
2026-03-17
Generated
2026-07-06
AI Q&A
2025-12-24
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
coolify coolify 4.0.0-beta.451

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an authenticated command injection in Coolify's File Storage Directory Mount Path functionality. Users with application or service management permissions can exploit the file_storage_directory_source parameter, which is passed directly to shell commands without proper sanitization, allowing them to execute arbitrary commands as root on the managed servers. This leads to full remote code execution on the host system.

Impact Analysis

If exploited, this vulnerability allows an attacker with certain permissions to execute arbitrary commands as root on the managed servers. This can lead to complete compromise of the server, including unauthorized access, data theft, data modification, service disruption, and potentially further attacks within the network.

Mitigation Strategies

Upgrade Coolify to version 4.0.0-beta.451 or later, as this version fixes the authenticated command injection vulnerability in the File Storage Directory Mount Path functionality.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-66213. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart