CVE-2026-24841CWE-78

Dokploy Vulnerable to Authenticated Remote Code Execution via Command Injection in Docker Container Terminal WebSocket Endpoint

Critical · published January 28, 2026

CVSS v3.1
9.9
EPSS
3%
Percentile
86.5
In the wild
Unconfirmed
What it is

🚨 A sneaky command injection vulnerability lurks in Dokploy's WebSocket endpoint, allowing authenticated attackers to unleash chaos on the host server! 🔥 Think of it as a restaurant where the chef takes orders without checking the ingredients, leading to disastrous substitutions in the meals served. In this case, the server executes commands without properly validating them—potentially serving up anything an attacker desires! An attacker with access could run arbitrary commands directly on the host server, allowing them to manipulate data, compromise sensitive information, or even take full control. This could lead to complete system takeovers and devastating consequences for your entire infrastructure!

Put simply

Think of it as a restaurant where the chef takes orders without checking the ingredients, leading to disastrous substitutions in the meals served. In this case, the server executes commands without properly validating them—potentially serving up anything an attacker desires! This command injection vulnerability allows attackers to inject malicious commands through the `containerId` and `activeWay` parameters of the `/docker-container-terminal` endpoint, without any sanitization. As a result, if these parameters are crafted carefully, they can run any command on the server.

What to do

An attacker with access could run arbitrary commands directly on the host server, allowing them to manipulate data, compromise sensitive information, or even take full control. This could lead to complete system takeovers and devastating consequences for your entire infrastructure! Upgrade Dokploy to version 0.26.6 immediately to patch this vulnerability. Review your current user access controls to ensure that only trusted users can access the WebSocket endpoint. Monitor your logs for any suspicious activity in case this has already been exploited! You've got this! Follow these steps to secure your environment and keep those cyber villains at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.02833 · 86.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-01-28T00:18Z
EPSS history
Timeline
  • 28 JAN 00:18Z
    Dokploy Vulnerable to Authenticated Remote Code Execution via Command Injection in Docker Container Terminal WebSocket Endpoint
    cvelistv5