CVE-2025-66209: 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 Database Backup functionality allows users with application/service management permissions to execute arbitrary commands as root on managed servers. Database names used in backup operations are passed directly to shell commands without sanitization, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue.
AI Analysis
Technical Summary
CVE-2025-66209 is an OS command injection vulnerability classified under CWE-78, discovered in Coolify, an open-source, self-hostable platform for managing servers, applications, and databases. The flaw exists in the Database Backup feature of Coolify versions earlier than 4.0.0-beta.451. Specifically, database names used during backup operations are directly incorporated into shell commands without proper sanitization or escaping of special characters. This improper neutralization allows an authenticated user with application or service management permissions to inject arbitrary shell commands. Because these commands execute with root privileges on the managed servers, an attacker can achieve full remote code execution, compromising confidentiality, integrity, and availability of the systems. The vulnerability requires authentication but no additional user interaction, making it easier to exploit by insiders or compromised accounts. The vulnerability was publicly disclosed on December 23, 2025, with a maximum CVSS v3.1 score of 10.0, reflecting its critical nature. Although no active exploits have been reported, the risk is high due to the severity and ease of exploitation. The issue is resolved in Coolify version 4.0.0-beta.451, which implements proper input sanitization and command handling to prevent injection.
Potential Impact
The impact of CVE-2025-66209 is severe and wide-ranging. Successful exploitation grants attackers root-level remote code execution on managed servers, enabling them to fully compromise affected systems. This can lead to unauthorized data access, data destruction, installation of persistent backdoors, lateral movement within networks, and disruption of critical services. Organizations relying on Coolify for server and database management face risks to their operational continuity, data confidentiality, and system integrity. Given Coolify’s role in managing multiple applications and databases, a single exploited instance could cascade into broader network compromises. The vulnerability’s requirement for authentication limits exposure to some extent, but insider threats or compromised credentials significantly increase risk. The lack of known exploits in the wild currently reduces immediate threat but does not diminish the urgency for remediation. Organizations that delay patching or continue using vulnerable versions expose themselves to potentially devastating attacks.
Mitigation Recommendations
To mitigate CVE-2025-66209, organizations should immediately upgrade Coolify to version 4.0.0-beta.451 or later, where the vulnerability is patched. Until upgrade is possible, restrict application and service management permissions strictly to trusted administrators to reduce the risk of exploitation. Implement strong authentication mechanisms, including multi-factor authentication, to protect management accounts. Monitor logs and audit trails for unusual command execution or backup operations that could indicate exploitation attempts. Consider isolating Coolify-managed servers within segmented network zones to limit lateral movement if compromise occurs. Additionally, review and sanitize all user inputs related to database names or backup operations in any custom scripts or integrations. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions to detect anomalous command execution patterns. Finally, maintain regular backups and incident response plans to recover quickly from potential breaches.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, Japan, South Korea, India
CVE-2025-66209: 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 Database Backup functionality allows users with application/service management permissions to execute arbitrary commands as root on managed servers. Database names used in backup operations are passed directly to shell commands without sanitization, 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-66209 is an OS command injection vulnerability classified under CWE-78, discovered in Coolify, an open-source, self-hostable platform for managing servers, applications, and databases. The flaw exists in the Database Backup feature of Coolify versions earlier than 4.0.0-beta.451. Specifically, database names used during backup operations are directly incorporated into shell commands without proper sanitization or escaping of special characters. This improper neutralization allows an authenticated user with application or service management permissions to inject arbitrary shell commands. Because these commands execute with root privileges on the managed servers, an attacker can achieve full remote code execution, compromising confidentiality, integrity, and availability of the systems. The vulnerability requires authentication but no additional user interaction, making it easier to exploit by insiders or compromised accounts. The vulnerability was publicly disclosed on December 23, 2025, with a maximum CVSS v3.1 score of 10.0, reflecting its critical nature. Although no active exploits have been reported, the risk is high due to the severity and ease of exploitation. The issue is resolved in Coolify version 4.0.0-beta.451, which implements proper input sanitization and command handling to prevent injection.
Potential Impact
The impact of CVE-2025-66209 is severe and wide-ranging. Successful exploitation grants attackers root-level remote code execution on managed servers, enabling them to fully compromise affected systems. This can lead to unauthorized data access, data destruction, installation of persistent backdoors, lateral movement within networks, and disruption of critical services. Organizations relying on Coolify for server and database management face risks to their operational continuity, data confidentiality, and system integrity. Given Coolify’s role in managing multiple applications and databases, a single exploited instance could cascade into broader network compromises. The vulnerability’s requirement for authentication limits exposure to some extent, but insider threats or compromised credentials significantly increase risk. The lack of known exploits in the wild currently reduces immediate threat but does not diminish the urgency for remediation. Organizations that delay patching or continue using vulnerable versions expose themselves to potentially devastating attacks.
Mitigation Recommendations
To mitigate CVE-2025-66209, organizations should immediately upgrade Coolify to version 4.0.0-beta.451 or later, where the vulnerability is patched. Until upgrade is possible, restrict application and service management permissions strictly to trusted administrators to reduce the risk of exploitation. Implement strong authentication mechanisms, including multi-factor authentication, to protect management accounts. Monitor logs and audit trails for unusual command execution or backup operations that could indicate exploitation attempts. Consider isolating Coolify-managed servers within segmented network zones to limit lateral movement if compromise occurs. Additionally, review and sanitize all user inputs related to database names or backup operations in any custom scripts or integrations. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) solutions to detect anomalous command execution patterns. Finally, maintain regular backups and incident response plans to recover quickly from potential breaches.
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: 694b1125d69af40f31323140
Added to database: 12/23/2025, 10:01:09 PM
Last enriched: 3/17/2026, 6:16:06 PM
Last updated: 3/25/2026, 9:17:10 AM
Views: 89
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.