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-34161: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in coolLabs Technologies Coolify

0
Critical
VulnerabilityCVE-2025-34161cvecve-2025-34161cwe-78cwe-20
Published: Wed Aug 27 2025 (08/27/2025, 16:47:45 UTC)
Source: CVE Database V5
Vendor/Project: coolLabs Technologies
Product: Coolify

Description

Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deployment workflow. The platform allows authenticated users, with low-level member privileges, to inject arbitrary shell commands via the Git Repository field during project creation. By submitting a crafted repository string containing command injection syntax, an attacker can execute arbitrary commands on the underlying host system, resulting in full server compromise.

AI-Powered Analysis

AILast updated: 11/19/2025, 04:10:30 UTC

Technical Analysis

CVE-2025-34161 is a critical OS command injection vulnerability affecting Coolify, an open-source platform by coolLabs Technologies used for project deployment workflows. The flaw exists in versions prior to v4.0.0-beta.420.7, where the Git Repository input field fails to properly sanitize user-supplied data. Authenticated users with minimal privileges (low-level members) can submit specially crafted repository strings containing shell command injection syntax. This input is passed unsanitized to the underlying operating system shell, enabling arbitrary command execution on the host server. The vulnerability arises due to improper neutralization of special elements in OS commands (CWE-78) and insufficient input validation (CWE-20). Exploitation does not require elevated privileges beyond low-level membership and does not require user interaction, making it highly exploitable remotely. The impact includes full server compromise, allowing attackers to execute arbitrary code, access sensitive data, disrupt services, or pivot within the network. The CVSS 4.0 score of 9.4 reflects the criticality, with attack vector being network-based, low attack complexity, no privileges required beyond low-level membership, and no user interaction needed. Although no exploits have been reported in the wild yet, the vulnerability poses a significant risk to organizations relying on Coolify for deployment automation. The lack of available patches at the time of reporting necessitates immediate mitigation efforts.

Potential Impact

For European organizations, this vulnerability presents a severe risk to the confidentiality, integrity, and availability of critical deployment infrastructure. Organizations using Coolify for continuous integration and deployment could face full server compromise, leading to data breaches, unauthorized access to internal systems, and potential disruption of business operations. Attackers could leverage this flaw to implant malware, exfiltrate sensitive information, or disrupt cloud-native applications and services. Given the increasing adoption of DevOps and cloud automation tools in Europe, exploitation could have cascading effects on supply chains and customer-facing services. The ability for low-privilege users to execute arbitrary commands increases insider threat risks and the potential for external attackers to escalate privileges after initial access. The absence of known exploits currently provides a window for proactive defense, but the critical severity demands urgent attention to prevent future attacks.

Mitigation Recommendations

1. Immediately upgrade Coolify to version 4.0.0-beta.420.7 or later once available to apply the official patch addressing this vulnerability. 2. Until patching is possible, restrict access to the project creation functionality to trusted users only, minimizing the number of low-level members who can submit repository URLs. 3. Implement strict input validation and sanitization on the Git Repository field at the application and network layers to detect and block command injection patterns. 4. Employ Web Application Firewalls (WAFs) with custom rules targeting suspicious shell command injection payloads in HTTP requests. 5. Monitor logs for unusual command execution patterns or unexpected repository strings indicative of exploitation attempts. 6. Enforce the principle of least privilege on deployment servers and isolate Coolify instances within segmented network zones to limit lateral movement. 7. Conduct regular security audits and penetration tests focusing on deployment automation tools. 8. Educate developers and DevOps teams about the risks of command injection and secure coding practices related to user input handling.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulnCheck
Date Reserved
2025-04-15T19:15:22.566Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68af3a3bad5a09ad00642212

Added to database: 8/27/2025, 5:02:51 PM

Last enriched: 11/19/2025, 4:10:30 AM

Last updated: 12/3/2025, 11:46:26 AM

Views: 89

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats