Summary
Dokploy versions prior to 0.31.1 allow an authenticated member with certain permissions to execute arbitrary commands on the host when deleting a local file mount. The source assigns a CVSS 3.1 score of 9.9 (critical).
What happened
In Dokploy, the mount.deleteFileMount procedure passes a path containing the user-controlled filePath value to a local helper (removeFileOrDirectory) that interpolates it unquoted into an rm -rf command, while the remote branch is quoted. An authenticated member with file-mount create and delete permissions can execute arbitrary commands in the host context when deleting a local file mount, without requiring a running container. The source classifies it as CWE-77 and CWE-78 and identifies it as CVE-2026-129986.
Why it matters
The source describes the possibility of arbitrary command execution on the host, and the CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) indicates network access, low complexity, low privileges, no user interaction, changed scope and high impact on confidentiality, integrity and availability. According to CISA's KEV catalog, active exploitation of this vulnerability is not recorded.
Affected products and versions
Dokploy (vendor: Dokploy), versions < 0.31.1.
| Product | Versions | Fixed in |
|---|---|---|
| Dokploy dokploy | < 0.31.1 | — |
Action recommended by the source
The vendor states the issue is fixed in version 0.31.1 and recommends updating to it or a later version. The source points to the GitHub security advisory (GHSA-945r-hp2m-928m), pull request #5907, a fix commit and the v0.31.1 release.
Sources and references
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-945r-hp2m-928m — CVE Program
- https://github.com/Dokploy/dokploy/pull/5907 — CVE Program
- https://github.com/Dokploy/dokploy/commit/861a1fbfc9f847b706cae65c5312655a53eb8f7c — CVE Program
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.1 — CVE Program
Weaknesses (CWE): CWE-77, CWE-78
Relevant change history
Published
Advisory published.