CVE-2026-72866

WebSocket Terminal Auth Bypass

Published Aug 10, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the WebSocket handler in apps/dokploy/server/wss/terminal.ts validates a session but does not authorize access to the requested server. An authenticated user can connect to /terminal?serverId=local, select the special serverId=local branch, and obtain an interactive terminal on the Dokploy host without an organization role or server-access check. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy’s WebSocket terminal endpoint allows an authenticated user to connect to /terminal?serverId=local and retrieve an interactive shell on the host. The endpoint validates a session but fails to authorize the specific server requested, letting the user bypass organization role checks. This flaw grants the attacker privileged access to the underlying operating system without additional permissions, enabling potential compromise of data and further attacks from the host. The flaw is a classic authorization bypass and falls under CWE-862.

Affected Systems

The vulnerability affects Dokploy installations running any version prior to 0.29.13. All users of the free, self‑hostable Platform as a Service platform named Dokploy that authenticate to the WebSocket terminal are at risk unless updated to the fixed release.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity, and while EPSS information is not available, the flaw is not listed in the CISA KEV catalog. An attacker must first be authenticated to Dokploy, but once logged in, can exploit the endpoint by specifying the special serverId=local parameter to gain shell access. Because the bug allows arbitrary host interaction, the risk to confidentiality, integrity, and availability is significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, which removes the authorization check for the terminal endpoint.
  • Restrict authentication to trusted users or network segments to limit access to the WebSocket terminal.
  • Apply additional access controls such as RBAC or two‑factor authentication to further reduce the risk of unauthorized hostshell access.

Generated by OpenCVE AI on August 10, 2026 at 20:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the WebSocket handler in apps/dokploy/server/wss/terminal.ts validates a session but does not authorize access to the requested server. An authenticated user can connect to /terminal?serverId=local, select the special serverId=local branch, and obtain an interactive terminal on the Dokploy host without an organization role or server-access check. This issue is fixed in version 0.29.13.
Title WebSocket Terminal Auth Bypass
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 10, 2026, 7:48 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 7:17 PM
Modified
Sep 8, 2026, 8:54 PM