CVE-2026-72864

Dokploy Broken Access Control on docker-container-terminal WebSocket (Member -> Root in Arbitrary Containers)

Published Aug 10, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the local branch of /docker-container-terminal in apps/dokploy/server/wss/docker-container-terminal.ts authenticates with validateRequest but does not authorize the attacker-controlled containerId against the caller's role, organization, or service access before passing it to `docker exec`, allowing any authenticated member to obtain a root shell in arbitrary containers on a self-hosted instance. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

The vulnerability occurs in the docker-container-terminal WebSocket endpoint of Dokploy, where the code authenticates but fails to verify the target container ID against the caller's role. An authenticated member can supply any container ID, resulting in a docker exec call with root privileges and obtaining a root shell in that container. This allows the attacker to read, modify, or delete data, run arbitrary commands, and potentially pivot to host‑level execution if container isolation is breached. The flaw corresponds to CWE‑862, an authorization bypass that can lead to full privilege escalation within containers.

Affected Systems

Affected software is Dokploy Platform as a Service (PaaS) version 0.29.12 and earlier, including any self‑hosted deployments that have not yet applied the 0.29.13 release. The vulnerability resides in the /docker‑container‑terminal endpoint of the server component. Endpoints are typically accessed via WebSocket by authenticated users; any instance running these older versions is susceptible.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity. EPSS not available, so the likelihood of exploitation cannot be quantified but the flaw permits a privileged attacker to gain root access with only an authenticated session. The vulnerability is not listed in the CISA KEV catalog. Exploitation would require that the attacker is a member of the application with valid credentials; from there, the unverified containerId can be supplied, leading to a root shell. Due to the high impact and lack of external defense in the code path, the overall risk is considered high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later where the authorization check for containerId is enforced.
  • If an upgrade is not immediately possible, restrict access to the docker-container-terminal WebSocket endpoint to privileged accounts only, requiring higher‑level authentication before allowing docker exec operations.
  • Review and enforce container‑level access controls so that only authorized users can invoke docker exec on containers belonging to their organization, ensuring that role checks are performed prior to executing any commands.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the local branch of /docker-container-terminal in apps/dokploy/server/wss/docker-container-terminal.ts authenticates with validateRequest but does not authorize the attacker-controlled containerId against the caller's role, organization, or service access before passing it to `docker exec`, allowing any authenticated member to obtain a root shell in arbitrary containers on a self-hosted instance. This issue is fixed in version 0.29.13.
Title Dokploy Broken Access Control on docker-container-terminal WebSocket (Member -> Root in Arbitrary Containers)
Weaknesses CWE-862
References
Metrics cvssV3_1

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

Weaknesses

Sources

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