CVE-2025-59157
Unknown Unknown - Not Provided
Command Injection in Coolify Git Repository Field Allows Remote Code Execution

Publication date: 2026-01-05

Last updated on: 2026-01-05

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.420.7, the Git Repository field during project creation is vulnerable to command injection. User input is not properly sanitized, allowing attackers to inject arbitrary shell commands that execute on the underlying server during the deployment workflow. A regular member user can exploit this vulnerability. Version 4.0.0-beta.420.7 contains a patch for the issue.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-01-05
Last Modified
2026-01-05
Generated
2026-05-07
AI Q&A
2026-01-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
coollabsio coolify to 4.0.0-beta.420.7 (exc)
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 Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-59157 is a critical command injection vulnerability in Coolify versions prior to v4.0.0-beta.420.7. It occurs in the Git Repository field during project creation, where user input is not properly sanitized. This allows an attacker, even with regular member privileges, to inject and execute arbitrary shell commands on the underlying server during the deployment workflow, potentially leading to full system compromise. [1]


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows attackers to execute arbitrary commands on the underlying server, potentially leading to full system compromise including unauthorized access, modification, or deletion of sensitive data. This could result in violations of data protection regulations such as GDPR and HIPAA, which require safeguarding sensitive personal and health information. Therefore, exploitation of this vulnerability may lead to non-compliance with these standards due to compromised confidentiality, integrity, and availability of protected data. [1]


How can this vulnerability impact me? :

This vulnerability can have severe impacts, including allowing attackers to execute arbitrary commands on your server with potentially root-level privileges. This can lead to unauthorized reading, creation, modification, or deletion of sensitive system files, privilege escalation, and full system compromise, severely affecting the confidentiality, integrity, and availability of your system. [1]


What immediate steps should I take to mitigate this vulnerability?

Upgrade Coolify to version v4.0.0-beta.420.7 or later, as this version contains the patch that fixes the command injection vulnerability in the Git Repository field during project creation. Until the upgrade is applied, restrict access to Coolify to trusted users only, especially limiting regular member user privileges, to reduce the risk of exploitation. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart