Dokploy
Dokploy: Incomplete fix of CVE-2026-45628: Command Injection via Unvalidated Branch Fields in Compose Deployment Pipeline (server-side regex missing in compose.ts)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.29.3, < 0.29.13
Fixed in 0.29.13
Mitigation
Upgrade dokploy to 0.29.13 or later.
References
- Vendor advisory github.com/Dokploy/dokploy/security/advisories…
- Patch github.com/Dokploy/dokploy/pull/4855
- Patch github.com/Dokploy/dokploy/commit/47347ab885b0…
1 more
- Release notes github.com/Dokploy/dokploy/releases/tag/v0.29.…
Timeline
Days relative to CVE publicationFirst public PoC 71 days after publication; not in CISA KEV. First PoC: Lulztigre/CVE-2026-72867 (created 20 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Lulztigre/CVE-2026-72867 | 20 Oct 2026 +71 d | 14 Nov 2026 | 0 | PoC |
| WoYinDao/CVE-2026-72867-CVSS-9.9-Critical | 21 Oct 2026 +72 d | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Dokploy <= 0.29.12 - Authenticated RCE via Command Injection | 21 Oct 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /api/trpc/settings.health
- Query
batch=1input={"0":{"json":null}}- Ports
- 3000
- Seen in
- 1 repo: WoYinDao/CVE-2026-72867-CVSS-9.9-Critical
- Evidence
- WoYinDao/CVE-2026-72867-CVSS-9.9-Critical/exp/lab_72867.py:101
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/trpc/settings\.health\?(?:.*&)?batch=1.*input=\{"0":\{"json":null\}\}
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-72867 Dokploy dokploy exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/trpc/settings.health"; http.uri; content:"batch=1"; http.uri; content:"input={|22|0|22|:{|22|json|22|:null}}"; reference:url,poc.griffinguard.io/cve/CVE-2026-72867; classtype:web-application-attack; sid:9813390; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Dokploy dokploy exploit attempt (CVE-2026-72867)
id: gg-pocmon-cve-2026-72867-9813390
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-72867. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-72867
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/trpc/settings.health'
cs-uri-query|contains|all:
- 'batch=1'
- 'input={"0":{"json":null}}'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.72867