CVE-2026-72867 Command injection in dokploy
A low-privileged user can execute arbitrary host commands via unvalidated branch fields in the compose deployment pipeline.
- 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-72867?
CVE-2026-72867 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). From 0.29.3 until 0.29.13, the incomplete fix for CVE-2026-45628 leaves packages/server/src/db/schema/compose.ts branch fields without server-side validation, allowing a direct compose.update request to store a malicious customGitBranch, branch, gitlabBranch, bitbucketBranch, or giteaBranch. A low-privileged authenticated user can trigger compose.deploy, which passes the stored branch to shell-based Git clone commands in packages/server/src/utils/providers/git.ts, github.ts, gitlab.ts, bitbucket.ts, and gitea.ts, resulting in arbitrary host command execution. This issue is fixed in version 0.29.13.
Which versions are affected by CVE-2026-72867?
How do I fix CVE-2026-72867?
No fix has been published for CVE-2026-72867 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-72867 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-72867 exists.
Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.
Sources
Also known as GHSA-cg8g-x23v-5fw8.