Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with backup:restore account
-
DeliveryInvoke restoreBackupWithLogs tRPC subscription
-
ExploitSubmit crafted databaseName payload
-
ExecutionHost /bin/sh expands metacharacters before docker exec
-
PersistExecute arbitrary commands in Docker-privileged host context
-
ImpactFull 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 |
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 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
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 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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
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.
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, 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.
Articles & Coverage 2
Executive ViewAI
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.
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
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-55728
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB