Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the compose.update operation stores an unvalidated composePath that packages/server/src/utils/builders/compose.ts and packages/server/src/services/compose.ts interpolate into docker compose -f, docker stack deploy -c, and touch shell commands executed through /bin/sh -c. An authenticated member with compose write and deploy permission can supply a crafted composePath, trigger compose.deploy or startCompose, and execute arbitrary operating-system commands in the Docker-privileged Dokploy host context. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dokploy stores the composePath value without validation before version 0.29.13, allowing an attacker to embed arbitrary shell commands into Docker‑compose and stack deploy scripts that are executed by /bin/sh -c. An authenticated user who possesses compose write and deploy permissions can supply a crafted composePath, trigger the compose.deploy or startCompose actions, and execute arbitrary operating‑system commands in the Docker‑privileged Dokploy host environment. This flaw, classified as CWE‑78, provides the attacker with the ability to achieve full code execution and compromise the confidentiality, integrity and availability of the host system.

Affected Systems

All installations of Dokploy earlier than version 0.29.13 are affected. The vulnerability exists in the compose.update operation within the server modules that construct Docker commands from the user supplied composePath. Any user with compose write and deploy rights on such an instance is at risk.

Risk and Exploitability

The CVSS score of 9.9 places this issue in the highest severity band, and the lack of an EPSS score indicates the data is not available, though the high CVSS indicates a serious risk. The vulnerability is not currently listed in the CISA KEV catalog. The attack requires an authenticated user with specific compose permissions, so limited access control is a prerequisite. Once those permissions are in place, the attacker can inject commands that are run with the privileges of the Dokploy host, which is typically Docker‑privileged, making exploitation potentially extremely damaging.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, where the composePath validation has been fixed.
  • Revoke compose write and deploy permissions from users who do not require them, limiting the window of opportunity for an attacker.
  • If the Dokploy instance runs in a Docker‑privileged environment, consider relocating it to a non‑privileged container or restricting its capabilities to reduce the impact of a potential command injection.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 11 Aug 2026 03:45:00 +0000

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

Mon, 10 Aug 2026 19:00: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 compose.update operation stores an unvalidated composePath that packages/server/src/utils/builders/compose.ts and packages/server/src/services/compose.ts interpolate into docker compose -f, docker stack deploy -c, and touch shell commands executed through /bin/sh -c. An authenticated member with compose write and deploy permission can supply a crafted composePath, trigger compose.deploy or startCompose, and execute arbitrary operating-system commands in the Docker-privileged Dokploy host context. This issue is fixed in version 0.29.13.
Title Dokploy: OS Command Injection via compose `composePath`
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:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-11T14:40:35.304Z

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

Link: CVE-2026-72865

cve-icon Vulnrichment

Updated: 2026-08-11T14:40:28.981Z

cve-icon NVD

Status : Received

Published: 2026-08-10T19:17:35.160

Modified: 2026-08-11T15:17:36.560

Link: CVE-2026-72865

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-78

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