What’s Vulnerable › Vulnerabilities

CVE-2025-59157: Coolify has Git Repository RCE

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.

Affected products

How to fix

Upgrade to a fixed version: coollabsio coolify 4.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-59157 or the next vulnerability affects your stack