CVE-2025-22605
Coolify OS Command Injection Vulnerability in SSH Command Generation
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Starting in version 4.0.0-beta.18 and prior to 4.0.0-beta.253, a vulnerability in the execution of commands on remote servers allows an authenticated user to execute arbitrary code on the local Coolify container, gaining access to data and private keys or tokens of other users/teams. The ability to inject malicious commands into the Coolify container gives authenticated attackers the ability to fully retrieve and control the data and availability of the software. Centrally hosted Coolify instances (open registration and/or multiple teams with potentially untrustworthy users) are especially at risk, as sensitive data of all users and connected servers can be leaked by any user. Additionally, attackers are able to modify the running software, potentially deploying malicious images to remote nodes or generally changing its behavior. Version 4.0.0-beta.253 patches this issue.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2025-01-07 CVE Reserved
- 2025-01-24 CVE Published
- 2025-01-24 CVE Updated
- 2025-01-25 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
References (5)
URL | Tag | Source |
---|---|---|
https://github.com/coollabsio/coolify/blob/40a239ddda3fc919f57a052d7b52b8e1a6696b81/bootstrap/helpers/remoteProcess.php#L70 | X_refsource_misc | |
https://github.com/coollabsio/coolify/commit/353245bb7de9680f238bae30443af1696bc977b0 | X_refsource_misc | |
https://github.com/coollabsio/coolify/pull/1524 | X_refsource_misc | |
https://github.com/coollabsio/coolify/pull/1625 | X_refsource_misc | |
https://github.com/coollabsio/coolify/security/advisories/GHSA-9wqm-fg79-4748 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Coollabsio Search vendor "Coollabsio" | Coolify Search vendor "Coollabsio" for product "Coolify" | 4.0.0 Search vendor "Coollabsio" for product "Coolify" and version "4.0.0" | en |
Affected
|