CVE-2026-72878 Dokploy: OS Command Injection in backup/restore pipeline via unescaped user-controlled shell arguments
An authenticated admin can inject OS commands into backup/restore operations, leading to arbitrary code execution on the host machine.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-72878?
CVE-2026-72878 is a critical command injection vulnerability in dokploy, published on 10 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-72878?
How do I fix CVE-2026-72878?
No fix has been published for CVE-2026-72878 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-72878 being exploited?
There is no known exploitation of CVE-2026-72878 in the wild and no public exploit code.
Sources
Also known as GHSA-p2c7-8j28-c7gq.