CVE-2026-24841 Dokploy Vulnerable to Authenticated Remote Code Execution via Command Injection in Docker Container Terminal WebSocket Endpoint
CriticalCVSS 9.9
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Docker
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). In versions prior to 0.26.6, a critical command injection vulnerability exists in Dokploy's WebSocket endpoint /docker-container-terminal. The containerId and activeWay parameters are directly interpolated into shell commands without sanitization, allowing authenticated attackers to execute arbitrary commands on the host server. Version 0.26.6 fixes the issue.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dokploy | < 0.26.6; = < 0.26.6 | 0.26.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dokploy | = < 0.26.6 | No fix listed |
| dokploy | < 0.26.6 | 0.26.6 |
References
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-vx6x-6559-x35r exploit mitigation vendor-advisory
- https://github.com/Dokploy/dokploy/commit/74e0bd5fe3ef7199f44fcd19c6f5a2f09b806d6f patch
- https://github.com/Dokploy/dokploy/blob/canary/apps/dokploy/server/wss/docker-container-terminal.ts product