CVE-2026-72885

Dokploy: Authenticated Command Injection in Dokploy Dockerfile Builder

Published Aug 10, 2026 CVSS 4.0 · 0 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, '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, 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'}

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 11, 2026, 2:36 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM