Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-66211: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in coollabsio coolify

0
Critical
VulnerabilityCVE-2025-66211cvecve-2025-66211cwe-78
Published: Tue Dec 23 2025 (12/23/2025, 22:00:36 UTC)
Source: CVE Database V5
Vendor/Project: coollabsio
Product: 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 PostgreSQL Init Script Filename handling allows users with application/service management permissions to execute arbitrary commands as root on managed servers. PostgreSQL initialization script filenames are passed to shell commands without proper validation, enabling full remote code execution. Version 4.0.0-beta.451 fixes the issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/17/2026, 18:16:39 UTC

Technical Analysis

CVE-2025-66211 is an OS command injection vulnerability identified in Coolify, an open-source, self-hostable platform for managing servers, applications, and databases. The flaw exists in versions prior to 4.0.0-beta.451 and arises from improper neutralization of special elements in PostgreSQL initialization script filenames. Specifically, these filenames are incorporated into shell commands without adequate validation or sanitization, allowing an authenticated user with application or service management privileges to inject arbitrary shell 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 is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and has a CVSS 4.0 base score of 9.4, reflecting its critical severity. Exploitation requires authentication but no user interaction and can be performed remotely with low complexity. The vulnerability was publicly disclosed on December 23, 2025, and fixed in Coolify version 4.0.0-beta.451. No known exploits are currently observed in the wild, but the potential impact is severe given the root-level access granted upon exploitation.

Potential Impact

The impact of CVE-2025-66211 is severe for organizations using vulnerable versions of Coolify. 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 or modification, disruption of services, deployment of malware or ransomware, and lateral movement within the network. Since Coolify is used to manage critical infrastructure components such as servers, applications, and databases, the compromise can cascade to affect multiple systems and services. The vulnerability threatens confidentiality, integrity, and availability of organizational assets. Additionally, the ease of exploitation by any authenticated user with management permissions increases the risk, especially in environments with multiple administrators or less stringent access controls. Organizations relying on Coolify for production environments face significant operational and reputational risks if this vulnerability is exploited.

Mitigation Recommendations

To mitigate CVE-2025-66211, organizations should immediately upgrade Coolify 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 strictly to trusted and vetted users to reduce the attack surface. Implement robust access controls and monitor for unusual command execution or privilege escalation activities on managed servers. Employ network segmentation to isolate management interfaces and limit exposure to untrusted networks. Additionally, review and sanitize any user-supplied input related to PostgreSQL initialization scripts or other shell-invoked parameters. Consider deploying runtime application self-protection (RASP) or host-based intrusion detection systems (HIDS) to detect and block suspicious command injection attempts. Regularly audit Coolify configurations and logs for signs of exploitation. Finally, educate administrators about the risks of command injection vulnerabilities and the importance of applying security updates promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 694b149ad69af40f3136cc78

Added to database: 12/23/2025, 10:15:54 PM

Last enriched: 3/17/2026, 6:16:39 PM

Last updated: 3/25/2026, 4:13:59 AM

Views: 347

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses