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.
Severity (CVSS)
| Base score | 9.9 |
|---|---|
| Severity | Critical |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-77 — CWE-77: Improper Neutralization of Special Elements used in a Command
- CWE-78 — CWE-78: Improper Neutralization of Special Elements used in an OS Command
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Dokploy | dokploy | < 0.31.1 [affected] |
References
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-945r-hp2m-928m (x_refsource_CONFIRM)
- https://github.com/Dokploy/dokploy/pull/5907 (x_refsource_MISC)
- https://github.com/Dokploy/dokploy/commit/861a1fbfc9f847b706cae65c5312655a53eb8f7c (x_refsource_MISC)
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.