Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain member account with deploy permission
-
DeliverySet malicious host in customGitUrl
-
ExploitTrigger service deployment
-
Executionssh-keyscan runs unquoted domain
-
PersistInjected commands execute on host
-
ImpactFull host compromise
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 an authenticated Dokploy user who is a member with service-deployment permission AND has an SSH key attached, using the custom Git URL deployment feature (the customGitUrl / generic-git provider) so that addHostToKnownHostsCommand runs during deployment. The attacker controls the domain portion of customGitUrl, which reaches ssh-keyscan unquoted; the payload only fires when a deployment is actually triggered. Limiting factors: it is not anonymous (PR:L - a deployment-capable account is needed), it is confined to the custom-Git path rather than the managed GitHub/GitLab integrations, and it affects only versions before 0.29.13. No user interaction from a victim is required (UI:N). |
| Impact | The CVSS 3.1 base score is 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), and the metrics are credible for this bug: it is network-reachable through the Dokploy UI/API, low-complexity, requires only low privileges (a project member with deployment rights), needs no user interaction, and command execution on the host constitutes a scope change from the application into the underlying system. The main brake on real-world risk is the privilege requirement - this is not an anonymous internet-wide RCE; the attacker must already be an authenticated member granted service-deployment permission and able to attach an SSH key, so it is primarily an insider/privilege-escalation and multi-tenant trust-boundary risk rather than mass-exploitable. No EPSS score, KEV entry, or SSVC decision data was provided, so probability-of-exploitation cannot be quantified from the input; however, the public fix commit exposes the exact injection point and payload shape, which lowers the bar to weaponize, so even a mid-sized operator running Dokploy for a small team should treat this as urgent and patch promptly. Overall this is a genuine high priority for any multi-tenant or shared Dokploy deployment, and a lower (but non-zero) priority where every member is already fully trusted. |
| Exploit ScenarioDerived | An authenticated Dokploy member with service-deployment permission creates or edits a service using a custom Git source and sets the customGitUrl so its host component embeds a shell payload (e.g. a command-substitution or semicolon-separated command in place of the SSH hostname). When the deployment runs, addHostToKnownHostsCommand builds the ssh-keyscan command with the unquoted domain and the injected commands execute on the Dokploy host with the deployment process's privileges. No public exploit is identified at time of analysis, but the public fix commit reveals the exact injection point. |
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 self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment permission and an attached SSH key run arbitrary commands on the Dokploy host. The flaw lives in the custom-Git deployment path, where the host portion of a user-supplied customGitUrl is interpolated unquoted into an ssh-keyscan shell command that executes during deployment. No public exploit is identified at time of analysis, but the fix commit is public and the trigger is trivial for anyone with deploy rights.
RemediationAI
Vendor-released patch: 0.29.13 - upgrade to Dokploy v0.29.13 or later (https://github.com/Dokploy/dokploy/releases/tag/v0.29.13), which routes user-controlled Git fields through the new shellWord() shell-quoting helper. Until you can upgrade, reduce the attack surface by tightly restricting who holds service-deployment permission and the ability to attach SSH keys, since exploitation depends on those grants; treat every member with deploy rights as effectively having host shell access. As a targeted interim control, avoid or disable use of the custom Git URL deployment path (the customGitUrl/generic-git provider) and prefer the managed GitHub/GitLab app integrations, and audit existing services for suspicious customGitUrl domain values containing shell metacharacters - the trade-off is loss of arbitrary self-hosted Git source support until patched. Review the GHSA advisory (https://github.com/Dokploy/dokploy/security/advisories/GHSA-6693-xv3f-69px) for authoritative guidance.
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 builds shell command strings in packages/server/src/utils/providers/git.ts and passes them to /bin/sh -c (locally via execAsync or remotely via execAsyncRemote). The custom-Git provider takes a user-controlled customGitUrl, parses it with sanitizeRepoPathSSH, and passes the extracted domain to addHostToKnownHostsCommand, which built ssh-keyscan -p ${port} ${domain} >> ${knownHostsPath} || true; with no shell quoting. This is a textbook CWE-78 (OS Command Injection) via unsanitized interpolation of attacker data into a shell context; the domain field is the injection point, so shell metacharacters ($(...), ;, backticks, |) in the hostname break out of the ssh-keyscan argument and execute as separate commands. The vendor's fix introduces a shellWord() helper (wrapping shell-quote's quote()) applied across all Git providers - bitbucket, gitea, github, gitlab and the generic git path - and casts port with Number(), indicating the branch name, clone URL, output path and other fields shared the same unsafe pattern. Affected CPE: cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:* (all versions prior to 0.29.13).
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable via the deploy UI/API with low complexity, but requires a deployment-permitted member account (PR:L); host command execution escapes the app scope (S:C) with full C/I/A impact.
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, packages/server/src/utils/providers/git.ts parses the user-controlled customGitUrl with sanitizeRepoPathSSH and interpolates its domain into the ssh-keyscan command from addHostToKnownHostsCommand without shell quoting, allowing an authenticated member with service deployment permission and an attached SSH key to execute arbitrary commands on the Dokploy host during deployment. This issue is fixed in version 0.29.13.
Executive ViewAI
Dokploy, a self-hosted application deployment platform, contains a critical command injection vulnerability in its Git deployment feature that allows authenticated users with deployment permissions to execute arbitrary commands on the hosting infrastructure. This vulnerability exposes organizations running Dokploy to unauthorized access, data theft, and potential lateral movement within the hosting environment. Immediate action is required for any organization with Dokploy instances in production.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) revoke or limit service-deployment permissions to only trusted administrators, (2) disable SSH key-based deployments or remove SSH keys from user accounts, (3) implement manual code review for all Git deployment configurations before execution, (4) establish logging and alerting on SSH command execution from Dokploy instances, and (5) restrict outbound network access from Dokploy to only whitelisted Git repository hosts.
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-55689
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB