Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as member with backup-restore permission
-
DeliveryCall restoreBackupWithLogs tRPC subscription
-
ExploitInject shell metacharacters via databaseName/backupFile
-
ExecutionBreak out of docker restore pipeline
-
PersistExecute commands on Dokploy host
-
ImpactFull host compromise and lateral movement
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 account that has been granted the backup-restore permission and network access to the tRPC API; the attacker invokes the backup.restoreBackupWithLogs subscription and supplies a malicious databaseName or backupFile value. No user interaction and no valid database container or backup file are needed - the injected command runs regardless. Limiting factors: the backup-restore permission (PR:L) gates who can reach the sink, so exploitation is confined to users granted that role, making multi-user or multi-tenant instances the primary risk; instances where only trusted admins hold this permission are correspondingly lower risk. Affected only on Dokploy versions before 0.29.13. |
| Impact | The signals are largely consistent and 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) indicates network-reachable, low-complexity exploitation requiring only a low-privileged authenticated role, with a scope change because code executes in the Dokploy host context rather than the sandboxed application, yielding total confidentiality, integrity and availability loss. The one real gating factor is PR:L: the attacker must be an authenticated member who has been granted the backup-restore permission, so this is not anonymous internet-wide exploitation - it is a privilege-escalation/tenant-breakout primitive most dangerous in multi-user or multi-tenant Dokploy deployments. No EPSS score, KEV listing, or SSVC decision data was provided in the input, so exploitation probability cannot be quantified from the feed; the strongest exploit signal is the vendor's own regression test in PR #4862 that demonstrates the injection payloads, which raises real-world feasibility even though a standalone weaponized exploit is not identified. |
| Exploit ScenarioDerived | A member of a Dokploy instance who has been granted the backup-restore permission triggers a database restore and sets the databaseName (or backupFile) to a payload such as |
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-hostable PaaS) before 0.29.13 lets an authenticated user holding the backup-restore permission run arbitrary shell commands on the underlying Dokploy host. The backup.restoreBackupWithLogs tRPC subscription concatenates the user-supplied databaseName and backupFile fields directly into database restore and rclone shell pipelines, so crafted values break out of the intended command and execute via execAsync/execAsyncRemote. There is no public exploit identified at time of analysis and it is not on CISA KEV, but the fixing pull request (#4862) ships a regression test enumerating working injection payloads, and the CVSS of 9.9 with scope change reflects full host takeover from a low-privileged application role.
RemediationAI
Vendor-released patch: upgrade Dokploy to 0.29.13, which is the fixed release (https://github.com/Dokploy/dokploy/releases/tag/v0.29.13); the corresponding changes are in pull request #4862 and commits 8539a5c, ccd2e83 and eeb6e7b. The fix passes databaseName/backupFile as shell-quoted docker exec -e environment variables instead of inlining them, so upgrading is the primary and complete remediation. If you cannot upgrade immediately, restrict who holds the backup-restore permission to a minimal set of fully trusted administrators (removing it from all non-essential members closes the low-privilege attack path), avoid exposing the Dokploy control plane to untrusted networks, and audit restore activity - the trade-off is that revoking backup-restore blocks legitimate self-service restores until the patch is applied. Refer to advisory GHSA-2xjq-p4xx-5x2p 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 is a Node.js/TypeScript Vercel-and-Heroku-style platform that orchestrates Docker containers on a host and exposes its API over tRPC. The flaw is a classic CWE-78 OS Command Injection: packages/server/src/utils/restore/utils.ts interpolates the databaseName into database-specific restore commands (Postgres, MySQL, MariaDB, MongoDB), and packages/server/src/utils/restore/postgres.ts plus sibling modules interpolate backupFile into rclone paths. These strings are assembled into docker exec ... bash -c "..." pipelines and executed through execAsync (local) or execAsyncRemote (SSH to a remote node). Because the fields are placed inside double-quoted or single-quoted shell context without escaping, shell metacharacters ($(...), backticks, quotes, semicolons) terminate the intended command. The upstream fix moves user values out of the inline command text into docker exec -e VAR=<shell-quote escaped> environment variables referenced as "$VAR" inside a single-quoted inner script, neutralizing both the outer and inner shell layers.
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 tRPC reach and simple metacharacter payloads give AV:N/AC:L; the backup-restore role gives PR:L; command execution escapes the app to the host so S:C with full C:H/I:H/A:H.
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 builds database restore shell pipelines from the user-controlled databaseName and backupFile fields without safely separating them from shell syntax. packages/server/src/utils/restore/utils.ts interpolates databaseName into database-specific restore commands, while packages/server/src/utils/restore/postgres.ts and the analogous restore modules interpolate backupFile into rclone paths. An authenticated member with backup-restore permission can inject operating-system commands that execute in the Dokploy host context through execAsync or execAsyncRemote, even when no valid database container or backup file exists. This issue is fixed in version 0.29.13.
Articles & Coverage 2
Executive ViewAI
Dokploy self-hosted PaaS deployments running versions before 0.29.13 are vulnerable to privilege escalation through the backup-restore feature, allowing authenticated backup operators to execute arbitrary commands and compromise the entire underlying infrastructure; no public exploit has been identified at time of analysis. Organizations using Dokploy for container orchestration face risks of unauthorized data access, service disruption, and lateral movement to connected systems. Immediate action is required to restrict high-risk permissions and monitor deployments.
No vendor-released patch identified at time of analysis. Interim mitigations include: restricting backup-restore role access to minimum necessary personnel, requiring approval workflows for backup restoration operations, disabling automated backup restoration features, segregating Dokploy hosts on isolated network segments with egress controls, implementing command execution logging and anomaly detection for injection patterns, and deploying container runtime security policies to prevent host escape attempts.
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-55679
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB