CVE-2026-72878

Dokploy: OS Command Injection in backup/restore pipeline via unescaped user-controlled shell arguments

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, Dokploy's backup and restore pipeline constructs shell commands by directly interpolating user-controlled database fields into bash -c "..." and sh -c "..." strings, then executes them via child_process.exec(). An authenticated admin/owner can inject arbitrary OS commands that execute on the host machine running Dokploy (not just inside a container). This vulnerability is fixed in 0.29.13.

Analysis

AI-generated

Technical impact

Dokploy is a self‑hosted PaaS that, before version 0.29.13, built backup and restore commands by directly interpolating user‑controlled database values into shell strings executed via child_process.exec(). This creates an OS command injection flaw that an authenticated administrator or owner can exploit to run arbitrary shell commands on the host machine, bypassing container isolation. The vulnerability aligns with CWE-78, enabling the attacker to execute any command with the privileges of the Dokploy service process, potentially compromising the entire host system and all running containers.

Affected Systems

Affected products include Dokploy versions earlier than 0.29.13. The issue exists in the backup and restore pipeline where database fields are unsanitized. The fix was released in Dokploy 0.29.13; any deployment using an earlier release is vulnerable.

Risk and Exploitability

The CVSS score of 9.6 indicates critical severity. The EPSS score is not available, suggesting no public exploit data yet, but the flaw remains highly actionable. Because the attacker must be an authenticated privileged user (admin/owner), the attack vector is internal. If such credentials are compromised or misused, the attacker can execute arbitrary OS commands on the host, leading to system compromise. The vulnerability is not listed in CISA KEV, but its impact is high.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or newer where the shell argument sanitization is applied.
  • If an upgrade is not immediate, disable or restrict the backup/restore feature and limit admin/owner access to trusted personnel.
  • Add monitoring to detect unusual shell command usage in backup logs and review permissions on database fields used by backup scripts.

Generated by OpenCVE AI on August 10, 2026 at 20:37 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': 'none', '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, Dokploy's backup and restore pipeline constructs shell commands by directly interpolating user-controlled database fields into bash -c "..." and sh -c "..." strings, then executes them via child_process.exec(). An authenticated admin/owner can inject arbitrary OS commands that execute on the host machine running Dokploy (not just inside a container). This vulnerability is fixed in 0.29.13.
Title Dokploy: OS Command Injection in backup/restore pipeline via unescaped user-controlled shell arguments
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 12, 2026, 10:14 PM
Reserved
Aug 10, 2026, 3:28 PM
Status
Deferred
Published
Aug 10, 2026, 8:17 PM
Modified
Sep 8, 2026, 8:54 PM