Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, sanitizeCommand in packages/server/src/utils/builders/compose.ts only trims whitespace and strips surrounding quotes from compose.command before exportEnvCommand and docker command interpolation, allowing an authenticated user who can update a Compose service to inject shell metacharacters and execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in Dokploy’s compose command handling, where sanitizeCommand only trims whitespace and strips quotes but does not escape shell metacharacters. An attacker who is authenticated and has permission to modify a Compose service can inject arbitrary shell metacharacters, allowing execution of arbitrary commands on the host. This constitutes a command injection flaw (CWE-78) that compromises confidentiality, integrity, and availability of the entire Dokploy server.

Affected Systems

All Dokploy installations running a version earlier than v0.29.13 are affected, including any branches that have not applied the 0.29.13 patch. The flaw applies to the server component that processes user‑supplied compose commands. Administrators should verify the running version and impacted environment.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and the absence of an EPSS score suggests the exploitation probability is not well documented but remains significant because the affected functionality is exposed over the PaaS management interface. The vulnerability is not listed in the CISA KEV catalog, however an authenticated user can trigger arbitrary code execution on the host through the Compose update pathway. Prompt patching reduces the risk of a host compromise by malicious insiders or compromised credentials.

Generated by OpenCVE AI on August 10, 2026 at 20:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, which includes the sanitizeCommand patch.
  • Restrict Compose service modification privileges to trusted administrators, minimizing the exposure to authenticated users.
  • Audit Compose configurations regularly and monitor host command execution for anomalies to detect potential abuse.

Generated by OpenCVE AI on August 10, 2026 at 20:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, sanitizeCommand in packages/server/src/utils/builders/compose.ts only trims whitespace and strips surrounding quotes from compose.command before exportEnvCommand and docker command interpolation, allowing an authenticated user who can update a Compose service to inject shell metacharacters and execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
Title Dokploy: Command Injection via Compose Custom Command
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T19:30:07.319Z

Reserved: 2026-08-10T15:28:27.617Z

Link: CVE-2026-72884

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:45:05Z

Weaknesses
  • CWE-78

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