CVE-2025-66212: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in coollabsio coolify
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 Dynamic Proxy Configuration Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. Proxy configuration filenames are passed to shell commands without proper escaping, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue.
AI Analysis
Technical Summary
CVE-2025-66212 is an OS command injection vulnerability classified under CWE-78 affecting Coolify, an open-source, self-hostable platform for managing servers, applications, and databases. The vulnerability exists in versions prior to 4.0.0-beta.451 within the handling of Dynamic Proxy Configuration Filenames. Specifically, the application passes proxy configuration filenames directly into shell commands without proper escaping or sanitization. This improper neutralization of special shell characters allows authenticated users with application or service management permissions to inject arbitrary OS commands. Because these commands execute with root privileges on the managed servers, an attacker can gain full remote code execution capabilities, compromising the entire system. The vulnerability does not require user interaction and has a low attack complexity, but it does require authentication with management permissions, which may limit exposure to some extent. The CVSS 4.0 base score of 9.4 indicates critical severity, with high impact on confidentiality, integrity, and availability. The flaw was publicly disclosed on December 23, 2025, and fixed in Coolify version 4.0.0-beta.451. No known exploits have been reported in the wild yet, but the nature of the vulnerability makes it a high priority for patching. Organizations using Coolify should immediately upgrade to the fixed version and review access controls to limit management permissions. Additionally, monitoring for suspicious command execution on managed servers is advised.
Potential Impact
The impact of CVE-2025-66212 is severe for organizations using Coolify to manage their infrastructure. Successful exploitation allows attackers to execute arbitrary commands as root on managed servers, leading to complete system compromise. This can result in unauthorized data access, data modification or destruction, deployment of malware or ransomware, lateral movement within networks, and disruption of critical services. Because Coolify is used for managing servers, applications, and databases, attackers could manipulate configurations, steal sensitive credentials, or disrupt business operations. The vulnerability's exploitation requires only authenticated access with management permissions, which may be granted to multiple users in an organization, increasing the attack surface. The critical severity and root-level access mean that organizations face risks to confidentiality, integrity, and availability of their systems and data. If exploited in environments with sensitive or regulated data, this could also lead to compliance violations and reputational damage.
Mitigation Recommendations
To mitigate CVE-2025-66212, organizations should immediately upgrade Coolify installations to version 4.0.0-beta.451 or later, where the vulnerability is patched. Until the upgrade is applied, restrict application and service management permissions to the minimum necessary users, enforcing strict access controls and multi-factor authentication to reduce the risk of unauthorized exploitation. Conduct thorough audits of user permissions and remove any unnecessary management privileges. Implement monitoring and alerting for unusual command execution or privilege escalation activities on managed servers. Consider isolating Coolify management interfaces behind VPNs or internal networks to limit exposure. Additionally, review proxy configuration filename inputs and sanitize or validate them at the application level if custom modifications exist. Regularly back up critical data and configurations to enable recovery in case of compromise. Finally, maintain an incident response plan tailored to potential command injection attacks to ensure rapid containment and remediation.
Affected Countries
United States, Germany, United Kingdom, France, Netherlands, Canada, Australia, Japan, South Korea, India
CVE-2025-66212: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in coollabsio coolify
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 Dynamic Proxy Configuration Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. Proxy configuration filenames are passed to shell commands without proper escaping, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-66212 is an OS command injection vulnerability classified under CWE-78 affecting Coolify, an open-source, self-hostable platform for managing servers, applications, and databases. The vulnerability exists in versions prior to 4.0.0-beta.451 within the handling of Dynamic Proxy Configuration Filenames. Specifically, the application passes proxy configuration filenames directly into shell commands without proper escaping or sanitization. This improper neutralization of special shell characters allows authenticated users with application or service management permissions to inject arbitrary OS commands. Because these commands execute with root privileges on the managed servers, an attacker can gain full remote code execution capabilities, compromising the entire system. The vulnerability does not require user interaction and has a low attack complexity, but it does require authentication with management permissions, which may limit exposure to some extent. The CVSS 4.0 base score of 9.4 indicates critical severity, with high impact on confidentiality, integrity, and availability. The flaw was publicly disclosed on December 23, 2025, and fixed in Coolify version 4.0.0-beta.451. No known exploits have been reported in the wild yet, but the nature of the vulnerability makes it a high priority for patching. Organizations using Coolify should immediately upgrade to the fixed version and review access controls to limit management permissions. Additionally, monitoring for suspicious command execution on managed servers is advised.
Potential Impact
The impact of CVE-2025-66212 is severe for organizations using Coolify to manage their infrastructure. Successful exploitation allows attackers to execute arbitrary commands as root on managed servers, leading to complete system compromise. This can result in unauthorized data access, data modification or destruction, deployment of malware or ransomware, lateral movement within networks, and disruption of critical services. Because Coolify is used for managing servers, applications, and databases, attackers could manipulate configurations, steal sensitive credentials, or disrupt business operations. The vulnerability's exploitation requires only authenticated access with management permissions, which may be granted to multiple users in an organization, increasing the attack surface. The critical severity and root-level access mean that organizations face risks to confidentiality, integrity, and availability of their systems and data. If exploited in environments with sensitive or regulated data, this could also lead to compliance violations and reputational damage.
Mitigation Recommendations
To mitigate CVE-2025-66212, organizations should immediately upgrade Coolify installations to version 4.0.0-beta.451 or later, where the vulnerability is patched. Until the upgrade is applied, restrict application and service management permissions to the minimum necessary users, enforcing strict access controls and multi-factor authentication to reduce the risk of unauthorized exploitation. Conduct thorough audits of user permissions and remove any unnecessary management privileges. Implement monitoring and alerting for unusual command execution or privilege escalation activities on managed servers. Consider isolating Coolify management interfaces behind VPNs or internal networks to limit exposure. Additionally, review proxy configuration filename inputs and sanitize or validate them at the application level if custom modifications exist. Regularly back up critical data and configurations to enable recovery in case of compromise. Finally, maintain an incident response plan tailored to potential command injection attacks to ensure rapid containment and remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-11-24T23:01:29.678Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 694b149ad69af40f3136cc7d
Added to database: 12/23/2025, 10:15:54 PM
Last enriched: 3/17/2026, 6:16:52 PM
Last updated: 3/25/2026, 3:44:53 PM
Views: 138
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.