Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the buildRemoteDocker() function in packages/server/src/utils/providers/docker.ts interpolates the application-controlled dockerImage value directly into a docker pull shell command. An authenticated user with project access can set a crafted dockerImage through application.update and trigger application.deploy, causing execAsync() to execute arbitrary operating-system commands as the Dokploy server process. 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

Dokploy, a self‑hosted PaaS, allowed an authenticated user with project access to inject arbitrary shell commands by manipulating the dockerImage field. The buildRemoteDocker() function concatenated the supplied image name directly into a docker pull command, and execAsync() executed that string as a shell command. Consequently, the attacker could run any operating‑system commands as the Dokploy server process, leading to potential full system compromise. This is a command injection flaw (CWE‑78).

Affected Systems

All Dokploy installations running versions prior to 0.29.13 are affected. The vulnerability exists in the server component packages/server/src/utils/providers/docker.ts. Any deployment that accepts user‑supplied dockerImage values through the API or web interface and has project‑level permissions is vulnerable. The advice is to ensure the application is upgraded to 0.29.13 or newer.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. No EPSS data is available, so the exploitation probability is unknown; the flaw is not listed in CISA KEV, implying no publicly known exploits yet. The attack requires an authenticated user with project access, so the likelihood depends on how many users have such permissions. Once exploited, the attacker gains full control over the Dokploy host by executing arbitrary OS commands. The fix is an outright update; in its absence, a workaround is to disable project access to update dockerImage or restrict deploy rights.

Generated by OpenCVE AI on August 10, 2026 at 21:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, which removes the unsanitized interpolation.
  • If an upgrade is not yet possible, restrict project‑level permissions so that users cannot modify the dockerImage field or trigger deployments, thereby preventing the injection.
  • Implement input validation or filtering on the dockerImage parameter to allow only valid Docker image names (e.g., no shell metacharacters) before it is sent to the docker pull command.
  • Optionally, monitor logs for unexpected docker pull executions and audit deploy activities.

Generated by OpenCVE AI on August 10, 2026 at 21:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 03:15: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 buildRemoteDocker() function in packages/server/src/utils/providers/docker.ts interpolates the application-controlled dockerImage value directly into a docker pull shell command. An authenticated user with project access can set a crafted dockerImage through application.update and trigger application.deploy, causing execAsync() to execute arbitrary operating-system commands as the Dokploy server process. This issue is fixed in version 0.29.13.
Title Dokploy: Command Injection via Docker Credentials in buildRemoteDocker
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:45:17.949Z

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

Link: CVE-2026-72870

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:00:04Z

Weaknesses
  • CWE-78

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