{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.29.13"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cba0b253c7de4157dd932de7f16a2ad247c7cee9"
            },
            {
              "fixed": "8b868c66d6672be40b86315a704ea1b3b09cb2d3"
            }
          ],
          "repo": "https://github.com/dokploy/dokploy",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g9cg-4mmj-mh7p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72870.json"
  },
  "details": "Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the buildRemoteDocker() function in packages/server/src/utils/providers/docker.ts interpolates the application-controlled dockerImage value directly into a docker pull shell command. An authenticated user with project access can set a crafted dockerImage through application.update and trigger application.deploy, causing execAsync() to execute arbitrary operating-system commands as the Dokploy server process. This issue is fixed in version 0.29.13.",
  "id": "CVE-2026-72870",
  "modified": "2026-08-13T03:51:46.046252406Z",
  "published": "2026-08-10T18:45:17.949Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Dokploy/dokploy/releases/tag/v0.29.13"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72870.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Dokploy/dokploy/security/advisories/GHSA-g9cg-4mmj-mh7p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72870"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/commit/cba0b253c7de4157dd932de7f16a2ad247c7cee9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/pull/4860"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dokploy: Command Injection via Docker Credentials in buildRemoteDocker"
}