Dokploy: Authenticated Command Injection in Dokploy Dockerfile Builder
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, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to 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-qjrc-g63x-qhp9Exploit
- github.com/Dokploy/dokploy/pull/4860
- github.com/Dokploy/dokploy/commit/cba0b253c7de4157dd932de7f16a2ad247c7cee9
- github.com/Dokploy/dokploy/releases/tag/v0.29.13
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72885.json
- nvd.nist.gov/vuln/detail/CVE-2026-72885