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.
Published: 2026-01-28
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A command injection flaw exists in Dokploy’s WebSocket endpoint used for launching terminal sessions inside Docker containers. The "containerId" and "activeWay" fields are placed directly into a shell command without any sanitization, enabling an attacker who has authenticated access to inject arbitrary shell commands. Successful exploitation grants the attacker unrestricted execution on the host operating system, thereby compromising confidentiality, integrity, and availability of the entire environment.

Affected Systems

The vulnerability impacts all installations of Dokploy running a version older than 0.26.6. Versions 0.26.6 and later have fixed the flaw. The affected product is the self‑hosted Platform as a Service application Dokploy, as identified by the vendor package name dokploy.

Risk and Exploitability

The CVSS rating of 9.9 classifies this issue as critical, reflecting the high impact and the fact that it is reachable by an authenticated user through the WebSocket interface. Although the EPSS score is reported as less than 1%, indicating a low probability of immediate exploitation, the lack of entry in the CISA KEV catalog does not diminish the need for swift action. The attack vector is remote, requiring authentication but not privileged local access beyond the permitted user role. The combination of severe impact and a low but non‑zero exploitation probability means that any environment running a vulnerable Dokploy version should treat this as a top‑priority vulnerability.

Generated by OpenCVE AI on April 18, 2026 at 01:49 UTC.

Remediation

No vendor fix or workaround currently provided.

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 April 18, 2026 at 01:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Feb 2026 17:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*

Wed, 28 Jan 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 28 Jan 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy

Wed, 28 Jan 2026 00:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-28T14:59:11.561Z

Reserved: 2026-01-27T14:51:03.059Z

Link: CVE-2026-24841

cve-icon Vulnrichment

Updated: 2026-01-28T14:59:04.995Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-28T01:16:14.797

Modified: 2026-02-04T17:37:04.663

Link: CVE-2026-24841

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-18T02:00:10Z

Weaknesses