CVE-2026-72864: Dokploy Broken Access Control on docker-container-terminal WebSocket (Member -> Root in Arbitrary Containers)
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Dokploy /docker-container-terminal WebSocketto a version that resolves this vulnerability.Fixed in 0.29.13
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72864?
CVE-2026-72864 has a critical severity rating of 9.9.
How do I fix CVE-2026-72864?
To fix CVE-2026-72864, upgrade to Dokploy version 0.29.13 or later.
What type of vulnerability is CVE-2026-72864?
CVE-2026-72864 is a Broken Access Control vulnerability affecting the docker-container-terminal WebSocket.
What components are affected by CVE-2026-72864?
The vulnerability affects the /docker-container-terminal in apps/dokploy/server/wss/docker-container-terminal.ts.
What could an attacker achieve by exploiting CVE-2026-72864?
Exploitation of CVE-2026-72864 allows an attacker to escalate privileges from Member to Root in arbitrary containers.