{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.31.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "861a1fbfc9f847b706cae65c5312655a53eb8f7c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.31.1",
                "range": [
                  {
                    "fixed": "68dd5fa59d2218dc39c1e732e3c72c426293839c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "68dd5fa59d2218dc39c1e732e3c72c426293839c"
            },
            {
              "fixed": "861a1fbfc9f847b706cae65c5312655a53eb8f7c"
            }
          ],
          "repo": "https://github.com/dokploy/dokploy",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-945r-hp2m-928m"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-77",
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129986.json"
  },
  "details": "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.",
  "id": "CVE-2026-129986",
  "modified": "2026-11-18T23:46:10.845417219Z",
  "published": "2026-11-18T22:24:34.199Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129986.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/commit/861a1fbfc9f847b706cae65c5312655a53eb8f7c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/pull/5907"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Dokploy/dokploy/releases/tag/v0.31.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Dokploy/dokploy/security/advisories/GHSA-945r-hp2m-928m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-129986"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Dokploy: OS Command Injection via filePath in mount.deleteFileMount → HOST RCE"
}