Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as member with volume create/delete
-
DeliveryCreate file mount with payload in filePath
-
ExploitCall mount.remove to trigger rm -rf
-
ExecutionShell expands injected command on host
-
PersistAbuse Docker socket for privileged container
-
ImpactRoot on node
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 holding the file-mount (volume) create AND delete permissions on a service the attacker can access - these are granted to the default free-tier memberRole, and owner/admin always qualify, so the privilege bar is low. The decisive LIMITING condition is deployment mode: only a LOCAL file mount (a single-node install where getServerId returns no serverId, so deleteFileMount takes the removeFileOrDirectory branch) is injectable; the remote branch wraps the path with shell-quote's quote() and is not vulnerable. No running container is needed - the rm -rf fires immediately on mount deletion - and no user interaction is required. The trigger is the unquoted interpolation of the user-controlled filePath (stored via z.string().optional() with no regex/metacharacter filtering) into rm -rf ${path}, allowing $(), backticks, and ; to survive into the host shell. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, 9.9) aligns with the described mechanism: an authenticated member sends tRPC requests over the network, needs only the default free-tier volume create/delete permissions on a service they own (PR:L), requires no user interaction, and achieves a scope change from the Dokploy app context to arbitrary command execution on the Docker-privileged host - root on the node. The vuln.today Decision label is act_now, reinforcing urgency. Exploitation status: a public PoC reference exists (a deterministic, side-effect-free marker harness described in the GHSA advisory); it is not verified as working weaponized exploit code, and this is distinct from active exploitation. No CISA KEV listing and no EPSS score were provided, so there is no evidence of active in-the-wild exploitation at time of analysis - the priority rests on trivial exploitability, a clear code-level root cause with a merged fix, and the low privilege bar, not on observed attacks. One important scoping caveat the sources make explicit: only the LOCAL branch (default single-node install managing its own host) is vulnerable; the remote branch correctly uses shell-quote's quote(), so remote-managed-server deletions are not injectable via this sink. Defenders should treat default single-node Dokploy deployments as the at-risk population. |
| Exploit ScenarioDerived | An authenticated member who owns any service creates a file mount via mount.create with filePath set to a shell-injection payload such as x$(id>/tmp/pwned) (the field is z.string().optional() with no metacharacter validation), then calls mount.remove. On a single-node install, deleteFileMount passes the unquoted path into rm -rf ${path} via execAsync, so the shell expands the payload and runs it on the host; Docker-socket access then escalates to root on the node. A public, side-effect-side PoC marker harness demonstrating the $() and backtick injection is referenced in the GHSA advisory, though it is not verified as a full working exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete permissions execute arbitrary commands in the host context by deleting a local file mount whose filePath contains shell metacharacters. The flaw is the unquoted interpolation of the user-controlled filePath into rm -rf in the local branch of deleteFileMount; the remote branch is quoted and not vulnerable, and no running container is required. A public proof-of-concept marker harness is described in the advisory, no CISA KEV entry or confirmed active exploitation is provided, and the vendor has released 0.31.1 as the fix; the assessment treats this as a genuine high-priority issue.
RemediationAI
Upgrade Dokploy to 0.31.1 or later (https://github.com/Dokploy/dokploy/releases/tag/v0.31.1), which replaces the shell-based rm -rf in removeFileOrDirectory with fsPromises.rm(path, { recursive: true, force: true }) as shown in PR https://github.com/Dokploy/dokploy/pull/5907 (commit 861a1fbfc9f847b706cae65c5312655a53eb8f7c). Until upgrading, restrict the file-mount volume:create and volume:delete permissions - including the default free-tier memberRole grants - to trusted administrators only, since an authenticated member with both permissions can trigger the local rm -rf sink; this reduces exposure but does not remove the underlying unquoted command execution. Review the vendor advisory at https://github.com/Dokploy/dokploy/security/advisories/GHSA-945r-hp2m-928m for the fixed version and notes. No vendor workaround beyond access restriction is described in the available data.
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 PaaS whose server exposes tRPC procedures for managing service mounts. In deleteFileMount, the mount's user-controlled filePath is stored by a schema field defined as z.string().optional() with no regex or metacharacter filtering, then joined to the base path with path.join, which preserves $(), backticks, semicolons, and spaces. On a local single-node install where getServerId returns no serverId, removeFileOrDirectory executes execAsync(rm -rf ${path}) without quoting, so the metacharacters reach the host shell and enable CWE-77/CWE-78 OS command injection; the remote branch uses shell-quote's quote() around the same value and is not injectable. Reaching the sink requires an authenticated account with volume:create and volume:delete permissions on an accessible service - rights granted to the default free-tier memberRole - and the command fires immediately on mount deletion.
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
Authenticated member access over the network gives PR:L/AV:N; no special timing or config beyond local-node mode gives AC:L; app-context injection escaping to host root is a scope change (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.31.1, mount.deleteFileMount passes a path containing the user-controlled filePath to the local removeFileOrDirectory helper, which interpolates it unquoted into rm -rf, while the remote branch is quoted. An authenticated member with file-mount create and delete permissions can execute arbitrary commands in the host context immediately when deleting a local file mount, without requiring a running container. This issue is fixed in version 0.31.1.
Technical POC Analysis
CWE-77/CWE-78 OS command injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Dokploy versions before 0.31.1 contain a critical command injection vulnerability that allows authenticated low-privileged users with file-mount permissions to execute arbitrary commands on the host. This can lead to full compromise of the host and potentially other systems, requiring immediate leadership attention to patch and mitigate.
Apply vendor patch.
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 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
OS command injection in Dokploy self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment per
EUVD-2026-129324
NVD
CVE.org
EPSS
GitHub
Exploit-DB