Dokploy: Command Injection via Compose Custom Command
dokploy
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Dokploy dokploy |
| No fix yet |
Original description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, sanitizeCommand in packages/server/src/utils/builders/compose.ts only trims whitespace and strips surrounding quotes from compose.command before exportEnvCommand and docker command interpolation, allowing an authenticated user who can update a Compose service to inject shell metacharacters and execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
From the CVE record · GitHub_M
References
- github.com/Dokploy/dokploy/security/advisories/GHSA-qh6h-669j-77rwExploit
- github.com/Dokploy/dokploy/pull/4863
- github.com/Dokploy/dokploy/commit/d48037a80203bb0ecaec4f5653aef75fcfdb656d
- github.com/Dokploy/dokploy/releases/tag/v0.29.13
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72884.json
- nvd.nist.gov/vuln/detail/CVE-2026-72884