Skip to content
DayZeroHub
Critical CVSS 9.9CVE-2026-129986

Dokploy: OS command injection in mount.deleteFileMount (CVE-2026-129986)

Dokploy dokploy

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.

ProductVersionsFixed 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.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-77, CWE-78

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources