Skip to main content

Dokploy CVE-2026-72740

| EUVDEUVD-2026-55689 CRITICAL
OS Command Injection (CWE-78)
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
    Obtain member account with deploy permission
  2. Delivery
    Set malicious host in customGitUrl
  3. Exploit
    Trigger service deployment
  4. Execution
    ssh-keyscan runs unquoted domain
  5. Persist
    Injected commands execute on host
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

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

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 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

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 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.

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 - 19:03 EUVD
CVE Published
Aug 10, 2026 - 17:55 cve.org
CRITICAL 9.9

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular open-source self-hostable PaaS, common but not ubiquitous
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
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