Dokploy WebSocket authorization flaw allows cross-tenant container access and host compromise (CVE-2026-129316)
Dokploy versions 0.29.13 through 0.31.0 contain a critical authorization flaw in Docker terminal, container-log, and monitoring WebSocket handlers. A user with read access to any service can target unrelated containers, obtain a root shell in the Dokploy panel container, read other tenants' logs and statistics, and use the mounted Docker socket to compromise the host. Upgrade to 0.31.0 or later.
Overview
Per the NVD entry for CVE-2026-129316, Dokploy is a free, self-hostable Platform as a Service (PaaS). From version 0.29.13 until 0.31.0, the Docker terminal, container-log, and monitoring WebSocket handlers accept a caller-controlled serviceId as authorization but do not consistently bind the requested containerId or appName to that service.
Impact
A member with read access to any service can:
- Target unrelated containers. - Obtain a root shell in the Dokploy panel container. - Read other tenants' logs and statistics. - Use the mounted Docker socket to compromise the host.
This is a critical authorization boundary failure with direct host-compromise potential.
Fix
The issue is fixed in Dokploy version 0.31.0. The NVD references include multiple commits and pull requests:
- https://github.com/Dokploy/dokploy/commit/2555b8d91e88b9071a7d6afed84c0ff3b4a3838d - https://github.com/Dokploy/dokploy/commit/99e4f1c8dc62510b8abd46bd7fd359d6ad61075e - https://github.com/Dokploy/dokploy/commit/9f6e82abf62ec1cdeb6d0adf7eb8f2fa2fbb076a - https://github.com/Dokploy/dokploy/pull/5716 - https://github.com/Dokploy/dokploy/pull/5733
What to do
1. Upgrade Dokploy to version 0.31.0 or later immediately. 2. If an immediate upgrade is not possible, restrict access to the Dokploy panel and its WebSocket endpoints, and audit any exposed Docker socket usage. 3. Review the NVD entry and the referenced commits/pull requests to confirm the fix applies to your deployment. 4. Audit for signs of compromise: unexpected containers, root shells in the Dokploy panel container, unusual Docker socket activity, and cross-tenant log access. 5. Rotate credentials and secrets that may have been exposed through container logs or unauthorized container access. 6. Before making production changes, verify the vendor advisory and the exact fixed version for your deployment path.