Dokploy host command execution in file-mount deletion
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.31.1, mount.deleteFileMount passes a path containing the user-controlled filePath to the local removeFileOrDirectory helper, which interpolates it unquoted into rm -rf, while the remote branch is quoted. An authenticated member with file-mount create and delete permissions can execute arbitrary commands in the host context immediately when deleting a local file mount, without requiring a running container. This issue is fixed in version 0.31.1.
From the CVE record · GitHub_M
References
- github.com/Dokploy/dokploy/security/advisories/GHSA-945r-hp2m-928m
- github.com/Dokploy/dokploy/pull/5907
- github.com/Dokploy/dokploy/commit/861a1fbfc9f847b706cae65c5312655a53eb8f7c
- github.com/Dokploy/dokploy/releases/tag/v0.31.1
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129986.json
- nvd.nist.gov/vuln/detail/CVE-2026-129986