All vulnerabilities

Servers and applications

CVE-2026-34047

WebSocket Endpoint Access Control Flaw Leading to Remote Code Execution

Severity
Critical 9.9
Published
2 Jul 2026
Last changed
2 Jul 2026
Added to UpHeron
22 Oct 2026
Fixed in
4.0.0-beta.471
Exploit chance
0.6% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-652w-qv22-2r7c
Sources
Project advisories (GitHub)

Description

Coolify contains a critical server-side authorization flaw in its terminal WebSocket flow. A low-privileged authenticated team member who cannot access the terminal UI can still call the backend terminal endpoints directly, obtain terminal-enabled target hosts, and use the WebSocket terminal backend to execute commands on the managed host. In the reproduced exploit chain, the attacker can also generate an API token, retrieve the host SSH private key, and then achieve arbitrary command execution on the target host as root.

Under the intended permission model, low-privileged Member users should not be allowed to access terminal functionality. The frontend route reflects that expectation, but the backend trust chain for the terminal WebSocket does not enforce the same authorization rule.

Call /terminal/auth/ips to retrieve target host information:

Expected result: the response returns one or more hosts available for terminal execution, such as host.docker.internal.

From coollabsio/coolify's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
CoolifyServers and applications · github:coollabsio/coolify
  • Every version before 4.0.0-beta.471

About Coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

From its GitHub repository.
Docker Hub pulls
4,970,195Docker Hub, 15 Nov 2026
GitHub stars
66,095GitHub, 15 Nov 2026
Forks
5,989GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
25 Jan 2021GitHub

References