Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as org member with backup permission
-
DeliverySet backup prefix to $(...) shell payload
-
ExploitTrigger backup manually or wait for schedule/cleanup
-
ExecutionShell expands payload while building rclone command
-
ImpactExecute arbitrary commands as root on host
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 | Requires an authenticated Dokploy organization member who holds backup permission (backup:['create']) on at least one service - granted by default to the standard 'member' role, so no admin/owner role is needed. The attacker must be able to configure a backup's 'Prefix Destination' field, into which shell metacharacters (e.g. $(...) or backticks) are injected; the value is validated only as a non-empty string by z.string().min(1) and passed through normalizeS3Path(), which strips slashes/whitespace but does not escape or reject metacharacters. Execution fires when a backup for a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server service runs manually, on schedule, or during post-backup retention cleanup (the retention-cleanup sink is unquoted and even more direct). A valid or reachable S3 destination is NOT required - the payload executes while the command line is constructed, before rclone runs. The principal limiting factor is the authentication/permission requirement; there is no unauthenticated path. |
| 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) is consistent with the evidence: a network-reachable web UI, low complexity (inject a shell metacharacter string into a text field), only low privileges required, and a scope change because injected commands run as root on the Dokploy host or configured remote server - outside the backed-up service's own security authority. The vuln.today decision label is 'act_now', reinforcing urgency. The one qualifier on CVSS: PR:L is correct but material - this is NOT unauthenticated; an attacker needs an authenticated organization account that holds backup permission on at least one service (the default 'member' role already grants this), so the realistic threat is a malicious or compromised low-privilege org member rather than an anonymous internet attacker. No EPSS score and no CISA KEV status are present in the input, so widespread automated exploitation cannot be confirmed or ruled out from these signals; absence of EPSS/KEV is a data gap, not evidence of low risk. A detailed, tested proof-of-concept is published in the GHSA advisory itself, which materially lowers the barrier to exploitation. |
| Exploit ScenarioDerived | A low-privilege organization member (the default 'member' role includes backup permissions) edits or creates a backup on any service they can access and sets the 'Prefix Destination' field to a shell command-substitution payload such as $(touch /tmp/backup_pwn_marker). When the backup runs - manually, on its cron schedule, or during automatic retention cleanup - the shell expands the payload while building the rclone command line, executing arbitrary commands as root on the Dokploy host or the configured remote server. The GHSA advisory documents a working, UI-tested PoC confirming root-level command execution. |
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 an organization member holding backup permission on a single service execute arbitrary commands as root on the Dokploy host or on the configured remote server, because the backup 'Prefix Destination' value is interpolated into rclone command strings that run through /bin/sh -c. The flaw covers every backup type (PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose and web-server) and fires on manual runs, cron schedules and the post-backup retention cleanup, where the path is interpolated with no quoting at all. The vendor advisory ships a verified proof-of-concept that created a root-owned marker file via a crafted prefix; exploitation requires authentication plus backup:create, which the default member role already grants, but no admin role and no reachable S3 destination.
RemediationAI
Vendor-released patch: 0.31.1 - upgrade every Dokploy instance to v0.31.1 or later (https://github.com/Dokploy/dokploy/releases/tag/v0.31.1), which applies shell-quote quoting to the rclone upload and retention-cleanup commands for all backup types and additionally disables web-server backups in the cloud build, as visible in https://github.com/Dokploy/dokploy/pull/5908 and commit 549cdada79a8ddf9bd9d1f153159626d050b4b6a. Until the upgrade is applied, the practical compensating control is to remove backup create/update permissions from ordinary organization members and reserve backup configuration for trusted operators, since the default member role is what makes this reachable - the trade-off is that team members lose self-service backup configuration and on-demand runs. Because the payload executes during command-line construction, restricting egress to the S3 destination or using unreachable destinations does not mitigate it, and audit existing backup records for prefixes containing $, backticks, semicolons or other metacharacters before assuming an instance is clean. The full advisory is at https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv; the priority signal in the supplied intelligence is act_now, with no CISA KEV listing present in that data, so urgency derives from the low privilege bar and root-level impact rather than confirmed in-the-wild exploitation.
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
The root cause is CWE-78: the backups.prefix column is typed as non-null text and validated only by z.string().min(1) with no character restriction, and normalizeS3Path() merely trims whitespace and strips leading/trailing slashes before the value is folded into an rclone argument. Node's child_process.exec runs its string through /bin/sh -c (or the SSH equivalent for remote servers), and the primary sink places the whole destination inside a single pair of double quotes; bash still performs $(...) and backtick substitution inside double quotes, so the payload expands while the argument is being built, before rclone is ever invoked. The retention-cleanup path in keepLatestNBackups() is worse: it builds backupFilesPath as :s3:${bucket}/${appName}/${normalizeS3Path(prefix)} and interpolates it into rclone lsf and rclone delete with no quoting whatsoever, so cleanup after any successful backup is an equally direct trigger. The authorization gate is checkServicePermissionAndAccess(..., { backup: ["create"] }), and the stock member role carries backup read/create/update/delete/restore for services that member can access, so the privilege barrier is low for any multi-tenant or team-shared deployment. The upstream fix adopts shell-quote's quote() - the pattern already used on the restore side for backupFile - across postgres.ts, mysql.ts, mariadb.ts, mongo.ts, libsql.ts, compose.ts, web-server.ts and the cleanup path in backups/index.ts, and also quotes docker label filters in getComposeContainerCommand and blocks web-server backups in the cloud build. Affected CPE is cpe:2.3:a:dokploy:dokploy:*:*:*:*:*:*:*:*, i.e. every release below 0.31.1.
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 web UI (AV:N), trivial payload (AC:L), requires a low-privilege authenticated member with default backup permission (PR:L), no user interaction (UI:N); root code execution escapes the service's authority (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, the backup prefix field is only checked for a nonempty value, and normalizeS3Path preserves shell metacharacters before the prefix is interpolated into rclone upload and retention-cleanup command strings. An authenticated organization member with backup permission for a service can execute arbitrary commands as root on the Dokploy host or configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or performs retention cleanup. This issue is fixed in version 0.31.1.
Articles & Coverage 2
Technical POC Analysis
CWE-78: OS command injection from inadequately sanitized backup prefix input.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-129991 in Dokploy (before 0.31.1) is a critical authenticated command injection that allows any organization member with default backup permissions on a single service to execute arbitrary commands as root on the Dokploy host or remote server. This effectively grants low-privileged users root-level control, enabling full compromise of the deployment platform and any connected systems. Leadership should prioritize immediate remediation because the default member role is affected, and exploitation requires only authentication and access to the backup feature.
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 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
Command injection in Dokploy self-hostable PaaS before 0.29.13 lets an authenticated user with backup:read permission ru
EUVD-2026-129321
NVD
CVE.org
EPSS
GitHub
Exploit-DB