Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Authenticated user needed so PR:L; network-reachable low-complexity WebSocket route with no interaction; terminal command execution on out-of-scope hosts crosses the authorization boundary giving S:C and full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, terminal WebSocket bootstrap routes did not enforce the expected authorization middleware, allowing an authenticated user to access terminal functionality for resources outside the authorized scope and potentially execute commands. This issue is fixed in version 4.0.0-beta.471.
AnalysisAI
Privilege escalation via broken authorization in Coolify's self-hosted server/application management platform lets any authenticated low-privilege user reach terminal WebSocket functionality for resources outside their authorized scope, prior to version 4.0.0-beta.471. Because the terminal bootstrap routes skipped the expected authorization middleware, an attacker with a valid account can potentially execute commands on servers and containers they should not control. No public exploit identified at time of analysis, and there is no CISA KEV listing, but the fix is confirmed in release v4.0.0-beta.471.
Technical ContextAI
Coolify (vendor coollabsio) is an open-source, self-hostable PaaS-style tool for managing servers, applications, and databases, offering an in-browser terminal that connects to managed hosts and containers over WebSocket. The flaw is a CWE-863 Incorrect Authorization: the WebSocket bootstrap routes that initialize a terminal session did not enforce the middleware that verifies the requesting user is authorized for the target resource (team/project/server scoping). As a result, the object-level access check that should tie a terminal session to the caller's permitted resources was absent on those routes, so scope boundaries between tenants/teams were not honored. The affected CPE is cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:*, covering all versions prior to the patched 4.0.0-beta.471 beta release line.
RemediationAI
Upgrade to Coolify 4.0.0-beta.471 or later, which restores the missing authorization middleware on the terminal WebSocket bootstrap routes (Vendor-released patch: 4.0.0-beta.471); see the advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-652w-qv22-2r7c and release https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471. If immediate patching is not possible, reduce exposure by tightening who holds accounts on the instance - remove or suspend untrusted and lower-trust users, since exploitation requires an authenticated session - and restrict network reachability of the Coolify web/WebSocket interface to trusted administrators via a VPN, firewall allowlist, or reverse-proxy access controls; the trade-off is reduced convenience for legitimate remote users. On multi-tenant instances, consider isolating separate teams onto separate Coolify installations until patched, at the cost of operational overhead. These are compensating controls only; applying the fixed release is the definitive remediation.
Coolify, a self-hosted server management platform, allows authenticated users to inject OS commands through the Git Repo
A command injection vulnerability in Coolify's Database Backup functionality allows authenticated users with application
Coolify through v4.0.0-beta.434 exposes the root user's SSH private key to low-privileged team members. Any user with ba
Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,
Coolify before 4.0.0-beta.445 allows command injection through docker-compose.yaml parameters. If a victim creates an ap
Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo
Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d
Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss
Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. [CVSS 8.8 HIGH]
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0
An authenticated command injection vulnerability in Coolify's PostgreSQL initialization script handling allows attackers
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41981