Skip to content
Heist/ feed
Back to feed
Unrated

Dokploy: Authenticated Command Injection in Dokploy Dockerfile Builder

Type: advisorySources: OSV

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-72885
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:39 UTC · Revision 1

Source evidence

Dokploy: Authenticated Command Injection in Dokploy Dockerfile Builder

core-osv · Original source

Published 10 Aug 2026, 19:31 UTC

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.

osv:CVE-2026-72885
Complete source record
{
  "id": "bcc36a1ff14810c996f412713bccd24cc7f57ae43acf4952985e002ca2bb5fbc",
  "url": "https://osv.dev/vulnerability/CVE-2026-72885",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Dokploy: Authenticated Command Injection in Dokploy Dockerfile Builder",
    "summary": "Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, dockerContextPath accepted by apps/dokploy/components/dashboard/application/build/show.tsx flows through getDockerContextPath in packages/server/src/utils/filesystem/directory.ts into the unquoted cd command in packages/server/src/utils/builders/docker-file.ts before execution by execAsync, allowing an authenticated application editor to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.",
    "evidence": "osv:CVE-2026-72885",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-72885",
      "aliases": [
        "CVE-2026-72885",
        "GHSA-qjrc-g63x-qhp9"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dokploy/dokploy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8b868c66d6672be40b86315a704ea1b3b09cb2d3"
                },
                {
                  "fixed": "cba0b253c7de4157dd932de7f16a2ad247c7cee9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.29.13"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cba0b253c7de4157dd932de7f16a2ad247c7cee9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8b868c66d6672be40b86315a704ea1b3b09cb2d3"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.29.13"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.29.12",
            "v0.29.11",
            "v0.29.10",
            "v0.29.9",
            "v0.29.8",
            "v0.29.7",
            "v0.17.3",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.16.1",
            "v0.16.0",
            "v0.15.1",
            "v0.15.0",
            "v0.14.1",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.10",
            "v0.10.9",
            "v0.10.7",
            "v0.10.6",
            "v0.10.5",
            "v0.10.4",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.1.0",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72885.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.450416681Z",
      "provider": "osv",
      "references": [
        "https://github.com/Dokploy/dokploy/releases/tag/v0.29.13",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72885.json",
        "https://github.com/Dokploy/dokploy/security/advisories/GHSA-qjrc-g63x-qhp9",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72885",
        "https://github.com/Dokploy/dokploy/commit/cba0b253c7de4157dd932de7f16a2ad247c7cee9",
        "https://github.com/Dokploy/dokploy/pull/4860"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72885.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72885",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504794,
  "published_at": "2026-08-10T19:31:36.859+00:00"
}