Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the createCommand() function constructs shell commands by interpolating compose service names and configuration into bash command strings. When a compose with a maliciously crafted name or service definition is deployed, the shell metacharacters are interpreted as command separators, allowing arbitrary command execution on the Docker host. This vulnerability is fixed in 0.29.13.
Published: 2026-08-10
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dokploy versions prior to 0.29.13 build shell commands by concatenating user‑supplied compose service names and configuration into bash strings. The implementation fails to escape or validate the data, allowing a deployer to insert shell metacharacters. When a malicious compose file is deployed, the injected characters are processed by the host shell, giving the attacker arbitrary command execution on the Docker host. This is an OS command injection flaw that could lead to full system compromise, allowing an attacker to read, modify, or delete any data accessible to the host and to install persistent backdoors.

Affected Systems

Vulnerable builds include all Dokploy releases before 0.29.13, such as 0.29.12 and earlier. The affected component is the compose command‑generation logic in the createCommand() function in the Dokploy source code. The fix was released in the 0.29.13 tag. Operators using earlier versions must upgrade to a patched release to eliminate this flaw.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium‑severity risk. The EPSS score is not available, so the probability of exploitation is unknown. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the ability to deploy a compose file with a crafted service name or definition; therefore users with deployment privileges could abuse it. Once a malicious compose is deployed, commands run with the privileges of the Docker host user, potentially providing full administrative control. The issue is mitigated by applying the 0.29.13 patch. Until patched, the exposure remains while users can still deploy arbitrary compose files.

Generated by OpenCVE AI on August 10, 2026 at 19:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Dokploy 0.29.13 or later, which removes the unsafe command construction.
  • If an upgrade is not immediately possible, restrict compose deployment to trusted users and sanitize service names and definitions before processing.
  • Monitor Docker host logs for unexpected shell execution activity and review compose file contents for suspicious metacharacters.

Generated by OpenCVE AI on August 10, 2026 at 19:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 04:00:00 +0000

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

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

Type Values Removed Values Added
Metrics ssvc

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


Mon, 10 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the createCommand() function constructs shell commands by interpolating compose service names and configuration into bash command strings. When a compose with a maliciously crafted name or service definition is deployed, the shell metacharacters are interpreted as command separators, allowing arbitrary command execution on the Docker host. This vulnerability is fixed in 0.29.13.
Title Dokploy: Command Injection via Compose Shell Execution
Weaknesses CWE-78
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:43:01.386Z

Reserved: 2026-08-10T13:48:09.546Z

Link: CVE-2026-72739

cve-icon Vulnrichment

Updated: 2026-08-10T18:42:24.265Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:45:03Z

Weaknesses
  • CWE-78

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