CVE-2025-22605
Coolify OS Command Injection Vulnerability in SSH Command Generation
Mitigation
- Upgrade coolify to 4.0.0-beta.253 or later.
Who should check
- Anyone running coollabsio coolify >= 4.0.0-beta.18, < 4.0.0-beta.253
Vulnerability facts
- Affected
- coollabsio coolify >= 4.0.0-beta.18, < 4.0.0-beta.253
- Fixed in
- coollabsio coolify 4.0.0-beta.253
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 8.5 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- Exploit maturity: Proof of concept
- EPSS
- 0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
- CWE
- CWE-78
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| coollabsio coolify | >= 4.0.0-beta.18, < 4.0.0-beta.253 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-22605. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-22605.md Affected: coollabsio coolify >= 4.0.0-beta.18, < 4.0.0-beta.253 Fixed in: coollabsio coolify 4.0.0-beta.253 Steps: 1. Search this machine and project for coollabsio coolify: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2025-22605 being exploited?
There is no confirmed exploitation: CVE-2025-22605 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-22605?
High: CVSS 8.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-22605?
coollabsio coolify >= 4.0.0-beta.18, < 4.0.0-beta.253.
Is there a fix for CVE-2025-22605?
Yes. Fixed in coollabsio coolify 4.0.0-beta.253. Upgrade coolify to 4.0.0-beta.253 or later.
How do I check if I'm affected by CVE-2025-22605?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.