CVE-2025-22606: Coolify Command Injection Vulnerability in Project Name
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. In version 4.0.0-beta.358 and possibly earlier versions, when creating or updating a "project," it is possible to inject arbitrary shell commands by altering the project name. If a name includes unescaped characters, such as single quotes ('), it breaks out of the intended command structure, allowing attackers to execute arbitrary commands on the host system. This vulnerability allows attackers to execute arbitrary commands on the host server, which could result in full system compromise; create, modify, or delete sensitive system files; and escalate privileges depending on the permissions of the executed process. Attackers with access to project management features could exploit this flaw to gain unauthorized control over the host environment. Version 4.0.0-beta.359 fixes this issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-22606?
The severity of CVE-2025-22606 is rated high due to the potential for arbitrary command injection.
How do I fix CVE-2025-22606?
To mitigate CVE-2025-22606, upgrade to the latest version of Coolify beyond 4.0.0-beta.359 where the vulnerability has been addressed.
Which versions of Coolify are affected by CVE-2025-22606?
CVE-2025-22606 affects Coolify versions from 0.0.0 up to but not including 4.0.0-beta.359.
What type of vulnerability is CVE-2025-22606?
CVE-2025-22606 is a command injection vulnerability that allows attackers to execute arbitrary shell commands.
Can CVE-2025-22606 be exploited remotely?
Yes, CVE-2025-22606 can be exploited remotely if an attacker can manipulate the project name during project creation or updates.