Skip to main content

Dokploy EUVDEUVD-2026-129321

| CVE-2026-129991 CRITICAL
OS Command Injection (CWE-78)
2026-11-18 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 as org member with backup permission
  2. Delivery
    Set backup prefix to $(...) shell payload
  3. Exploit
    Trigger backup manually or wait for schedule/cleanup
  4. Execution
    Shell expands payload while building rclone command
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

dokploy < 0.31.1

Affected Packages

euvd dokploy fix: 0.31.1

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

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 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.

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
Nov 18, 2026 - 23:19 EUVD
CVE Published
Nov 18, 2026 - 22:21 cve.org
CRITICAL 9.9

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 39% exploitable
Prevalence
Low
niche self-hostable open-source PaaS, limited enterprise production footprint
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

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.9%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

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

CVE-2026-72740 CRITICAL
9.9 Aug 10

OS command injection in Dokploy self-hosted PaaS before 0.29.13 lets an authenticated member with service-deployment per

CVE-2026-72738 CRITICAL
9.9 Aug 10

Command injection in Dokploy self-hostable PaaS before 0.29.13 lets an authenticated user with backup:read permission ru

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy