CVE-2026-24841 Command injection in dokploy
Authenticated attackers can execute arbitrary commands on the host server via command injection in the Docker container terminal WebSocket endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-24841?
CVE-2026-24841 is a critical command injection vulnerability in dokploy, published on 28 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-24841?
It affects 1 product.
Products include Dokploy Dokploy.
How do I fix CVE-2026-24841?
No fix has been published for CVE-2026-24841 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-24841 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24841 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in dokploy
- CVE-2025-53825 Dokploy's Preview Deployments are vulnerable to Remote Code Execution
- CVE-2026-24840 Dokploy uses hardcoded credentials in installation script, which could result in database access
- CVE-2025-53376 Dokploy allows attackers to run arbitrary OS commands on the Dokploy host.
- CVE-2025-53375 Dokploy allows attackers to read any file that the Traefik process user can access
- CVE-2026-24839 Dokploy has a clickjacking vulnerability - Missing X-Frame-Options and CSP frame-ancestors headers
Sources
Also known as GHSA-vx6x-6559-x35r.