Summary
Dokploy versions from 0.29.13 up to but not including 0.31.0 do not consistently bind the requested container to the authorized service in their Docker WebSocket handlers. The issue is rated critical (CVSS 9.9) and the vendor fixed it in version 0.31.0.
What happened
The WebSocket handlers for the Docker terminal, container logs and monitoring accept a caller-controlled serviceId as authorization, but do not consistently bind the requested containerId or appName to that service (CWE-862, missing authorization). According to the description, a member with read access to any service could 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.
Why it matters
The CVSS 3.1 score is 9.9 (critical), with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, assigned by CNA:GitHub_M. A low-privileged account (read access to any service) is required, and the described impact covers the confidentiality of other tenants and compromise of the host. CISA's KEV catalog does not list known exploitation, and the source does not state active exploitation.
Affected products and versions
Dokploy (vendor: Dokploy), versions >= 0.29.13 and < 0.31.0.
| Product | Versions | Fixed in |
|---|---|---|
| Dokploy dokploy | >= 0.29.13, < 0.31.0 | — |
Action recommended by the source
The vendor states the issue is fixed in version 0.31.0. The source does not mention other mitigations. Details are in the vendor advisory (GHSA-pwg8-2x8c-wc2m) and the v0.31.0 release in Dokploy's GitHub repository.
Sources and references
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-pwg8-2x8c-wc2m — CVE Program
- https://github.com/Dokploy/dokploy/pull/5716 — CVE Program
- https://github.com/Dokploy/dokploy/pull/5733 — CVE Program
- https://github.com/Dokploy/dokploy/commit/2555b8d91e88b9071a7d6afed84c0ff3b4a3838d — CVE Program
- https://github.com/Dokploy/dokploy/commit/99e4f1c8dc62510b8abd46bd7fd359d6ad61075e — CVE Program
- https://github.com/Dokploy/dokploy/commit/9f6e82abf62ec1cdeb6d0adf7eb8f2fa2fbb076a — CVE Program
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.0 — CVE Program
Weaknesses (CWE): CWE-862
Relevant change history
Published
Advisory published.