CVE-2026-72884

Dokploy: Command Injection via Compose Custom Command

Published Aug 10, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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). 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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 2:48 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM