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.
Published: 2026-08-10
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 11 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 11 Aug 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy

Mon, 10 Aug 2026 19:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-11T14:36:21.528Z

Reserved: 2026-08-10T15:28:27.616Z

Link: CVE-2026-72864

cve-icon Vulnrichment

Updated: 2026-08-11T14:33:59.266Z

cve-icon NVD

Status : Received

Published: 2026-08-10T19:17:35.010

Modified: 2026-08-11T15:17:36.393

Link: CVE-2026-72864

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:30:03Z

Weaknesses