CVE-2026-145581: Dockhand before 1.0.43 Missing Authorization via WebSocket Terminal Exec Path
Dockhand before 1.0.43 contains a missing authorization vulnerability in the server.js WebSocket terminal handler that allows low-privilege users to bypass the containers:exec permission check. Attackers with any environment role can open a WebSocket upgrade to /api/containers/{id}/exec with user=root to obtain an interactive root shell inside containers.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.0.43
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated Dockhand user with an environment role can exploit it. The user does not need the containers:exec permission.
What access does exploitation provide?
An attacker can open a WebSocket connection to /api/containers/{id}/exec using user=root and obtain an interactive root shell inside the targeted container.
Which versions are affected?
Dockhand versions before 1.0.43 are affected.