CVE-2026-72877

Dokploy: Command Injection via dockerImage in buildRemoteDocker

Published Aug 10, 2026 CVSS 3.1 · 9.6 Critical EPSS < 1% KEV · Not listed
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the dockerImage field is interpolated without quoting into shell commands in buildRemoteDocker() in packages/server/src/utils/providers/docker.ts and is validated only as an optional string. An authenticated user with application create or update permission can use shell command substitution in dockerImage to execute arbitrary commands on the local build host or a remote SSH build target, exposing host secrets and other projects. This issue is fixed in version 0.29.13.

Analysis

AI-generated

Technical impact

A command‑injection flaw exists in Dokploy’s dockerImage handling within the buildRemoteDocker routine. The input string is interpolated directly into a shell command without quoting, allowing an attacker to insert shell substitutions and cause arbitrary commands to run on the host executing the build. The flaw enables the execution of any command, exposing sensitive host secrets and the contents of other projects that share the same build environment.

Affected Systems

Dokploy Platform as a Service, versions prior to 0.29.13. The issue was addressed in release 0.29.13 and later.

Risk and Exploitability

The CVSS score of 9.6 marks this vulnerability as critical. While no EPSS data is published, the lack of a KEV listing does not diminish the risk of exploitation; authenticated users with application create or update rights can leverage the flaw. The vulnerability is exploitable on both local build hosts and remote SSH build targets, permitting a malicious actor to compromise the entire host system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Dokploy 0.29.13 release or newer to remove the unquoted shell interpolation.
  • Ensure that only trusted users have application create or update permissions; revoke these rights from users who should not trigger builds.
  • Verify that the dockerImage field is no longer used directly in shell commands and that any remaining input is validated or sanitized.

Generated by OpenCVE AI on August 10, 2026 at 20:53 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, the dockerImage field is interpolated without quoting into shell commands in buildRemoteDocker() in packages/server/src/utils/providers/docker.ts and is validated only as an optional string. An authenticated user with application create or update permission can use shell command substitution in dockerImage to execute arbitrary commands on the local build host or a remote SSH build target, exposing host secrets and other projects. This issue is fixed in version 0.29.13.
Title Dokploy: Command Injection via dockerImage in buildRemoteDocker
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A: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 13, 2026, 3: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