Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 0 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dokploy, a self‑hosted Platform as a Service, permits authenticated application editors to construct Docker images. The flaw occurs when the dockerContextPath value is concatenated directly into an unquoted shell "cd" command that is later executed with execAsync. This omission allows an attacker who can supply a custom dockerContextPath to inject and run arbitrary shell commands on the Dokploy host, thereby compromising confidentiality, integrity, and availability.

Affected Systems

All releases of Dokploy earlier than 0.29.13 contain this vulnerability. The issue resides in the server‑side build utilities referenced by any application that utilizes the Dockerfile builder. Users should verify their installed version against the release notes on the project’s GitHub releases page.

Risk and Exploitability

The flaw provides full remote code execution on the host system. Exploitation requires authentication with application‑editor privileges and the ability to supply a custom dockerContextPath. EPSS data is currently unavailable and the vulnerability is not listed in the CISA KEV catalog, yet the high‑impact nature of command injection warrants immediate remedial action. Patching to 0.29.13 eliminates the risk; before that, systems remain at high risk.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or newer.
  • If an upgrade cannot be performed immediately, revoke application‑editor permissions and disable use of custom dockerContextPath until the patch is applied.
  • After the patch, verify that no untrusted paths are provided to dockerContextPath and audit build configurations for accidental hard‑coded paths.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
Title Dokploy: Authenticated Command Injection in Dokploy Dockerfile Builder
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 0, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T19:31:36.859Z

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

Link: CVE-2026-72885

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:45:05Z

Weaknesses
  • CWE-78

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