CVE-2026-72878: Dokploy: OS Command Injection in backup/restore pipeline via unescaped user-controlled shell arguments
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 childprocess.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Dokployto a version that resolves this vulnerability.Fixed in 0.29.13
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72878?
The severity of CVE-2026-72878 is critical with a CVSS score of 9.6.
How do I fix CVE-2026-72878?
To fix CVE-2026-72878, update Dokploy to version 0.29.13 or later.
What type of vulnerability is CVE-2026-72878?
CVE-2026-72878 is an OS Command Injection vulnerability.
What impact does CVE-2026-72878 have?
CVE-2026-72878 allows an attacker to execute arbitrary commands on the system through unescaped user-controlled shell arguments.
Which software is affected by CVE-2026-72878?
CVE-2026-72878 affects Dokploy versions prior to 0.29.13.