# CVE-2025-22605: Coolify OS Command Injection Vulnerability in SSH Command Generation

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-24T14:54:18.707Z
- Modified: 2026-06-17T08:48:38.500Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- coollabsio coolify: >= 4.0.0-beta.18, < 4.0.0-beta.253
- coollabs coolify: 4.0.0

## Every score

- GitHub_M: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-9wqm-fg79-4748> (exploit, vendor-advisory)
- <https://github.com/coollabsio/coolify/pull/1524> (issue-tracking, patch)
- <https://github.com/coollabsio/coolify/pull/1625> (issue-tracking)
- <https://github.com/coollabsio/coolify/commit/353245bb7de9680f238bae30443af1696bc977b0> (patch)
- <https://github.com/coollabsio/coolify/blob/40a239ddda3fc919f57a052d7b52b8e1a6696b81/bootstrap/helpers/remoteProcess.php#L70> (product)

## Sources

- CVE List: [CVE-2025-22605](https://www.cve.org/CVERecord?id=CVE-2025-22605), CVE Terms of Use, modified 2025-01-24
- NVD: [CVE-2025-22605](https://nvd.nist.gov/vuln/detail/CVE-2025-22605), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22605 · Whole record: https://cve.day/CVE-2025-22605.json · Rebuilt by cve.day 2026-11-25T22:58:53.554Z
