CVE-2026-24841

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

Published Jan 28, 2026 CVSS 3.1 · 9.9 Critical EPSS 4.2% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A command injection flaw exists in Dokploy’s WebSocket endpoint `/docker-container-terminal`. The `containerId` and `activeWay` parameters are directly inserted into shell commands without sanitization, allowing an authenticated user to execute arbitrary shell commands on the host. This flaw enables remote code execution with full control over the underlying operating system, compromising confidentiality, integrity, and availability.

Affected Systems

All installations of Dokploy prior to version 0.26.6 are affected. The vulnerable component is the self‑hosted Platform as a Service application Dokploy. Upgrading to version 0.26.6 or later removes the untrusted input from the shell command construction and resolves the issue.

Risk and Exploitability

The CVSS score of 9.9 classifies this vulnerability as critical. The EPSS score is 4%, indicating a low probability of exploitation. The flaw is accessible through a remote WebSocket interface and requires only authenticated access; no additional local privileges are required. Although the vulnerability is not listed in the CISA KEV catalog, the combination of high severity and the authentication requirement means that any environment running a vulnerable version of Dokploy should treat it as a top‑priority issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Dokploy installation to version 0.26.6 or later, which removes the untrusted input from the shell command construction.
  • If an upgrade cannot be performed immediately, block or delete the `/docker-container-terminal` WebSocket endpoint for all users until the patch is applied, effectively preventing the injection vector.
  • Apply host‑level hardening: run Docker containers with the least privilege, restrict the Docker daemon to a dedicated user, and monitor WebSocket traffic for anomalous command patterns.

Generated by OpenCVE AI on November 26, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy
Type Values Removed Values Added
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.
Title Dokploy Vulnerable to Authenticated Remote Code Execution via Command Injection in Docker Container Terminal WebSocket Endpoint
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 28, 2026, 2:59 PM
Reserved
Jan 27, 2026, 2:51 PM
Status
Analyzed
Published
Jan 28, 2026, 1:16 AM
Modified
Jun 17, 2026, 10:23 AM