{
  "id": "CVE-2026-72867",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72867",
  "published_at": "2026-08-10T18:36:54.333Z",
  "title": "Dokploy: Incomplete fix of CVE-2026-45628: Command Injection via Unvalidated Branch Fields in Compose Deployment Pipeline (server-side regex missing in compose.ts)",
  "vendor": "Dokploy",
  "product": "dokploy",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-20T21:56:21Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 71.1,
    "repo": "Lulztigre/CVE-2026-72867",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Dokploy is a free, self-hostable Platform as a Service (PaaS). From 0.29.3 until 0.29.13, the incomplete fix for CVE-2026-45628 leaves packages/server/src/db/schema/compose.ts branch fields without server-side validation, allowing a direct compose.update request to store a malicious customGitBranch, branch, gitlabBranch, bitbucketBranch, or giteaBranch. A low-privileged authenticated user can trigger compose.deploy, which passes the stored branch to shell-based Git clone commands in packages/server/src/utils/providers/git.ts, github.ts, gitlab.ts, bitbucket.ts, and gitea.ts, resulting in arbitrary host command execution. This issue is fixed in version 0.29.13.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [
    {
      "repo": "Lulztigre/CVE-2026-72867",
      "url": "https://github.com/Lulztigre/CVE-2026-72867",
      "created_at": "2026-10-20T21:56:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-03-27T23:54:30Z"
    },
    {
      "repo": "WoYinDao/CVE-2026-72867-CVSS-9.9-Critical",
      "url": "https://github.com/WoYinDao/CVE-2026-72867-CVSS-9.9-Critical",
      "created_at": "2026-10-21T08:11:05Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-10-04T03:38:45Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Dokploy",
        "product": "dokploy",
        "ranges": [
          "\u003e= 0.29.3, \u003c 0.29.13"
        ],
        "fixed_in": [
          "0.29.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade dokploy to 0.29.13 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Dokploy/dokploy/security/advisories/GHSA-cg8g-x23v-5fw8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Dokploy/dokploy/pull/4855"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/Dokploy/dokploy/commit/47347ab885b0ad1f5d0ef0e5e74bbba35c7f93bc"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Dokploy/dokploy/releases/tag/v0.29.13"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-72867.yaml",
      "source": "nuclei",
      "title": "nuclei template: Dokploy \u003c= 0.29.12 - Authenticated RCE via Command Injection",
      "published_at": "2026-10-21T00:54:15Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/trpc/settings.health",
      "query_markers": [
        "batch=1",
        "input={\"0\":{\"json\":null}}"
      ],
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "WoYinDao/CVE-2026-72867-CVSS-9.9-Critical"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "WoYinDao/CVE-2026-72867-CVSS-9.9-Critical/exp/lab_72867.py:101"
      ]
    }
  ],
  "rules": []
}
