Skip to main content

Dokploy CVE-2026-72733

| EUVDEUVD-2026-55679 CRITICAL
OS Command Injection (CWE-78)
2026-08-10 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 member with backup-restore permission
  2. Delivery
    Call restoreBackupWithLogs tRPC subscription
  3. Exploit
    Inject shell metacharacters via databaseName/backupFile
  4. Execution
    Break out of docker restore pipeline
  5. Persist
    Execute commands on Dokploy host
  6. Impact
    Full 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 x'; touch /tmp/pwned; ' or $(...). When backup.restoreBackupWithLogs builds the restore pipeline, the payload breaks out of the shell command and executes on the Dokploy host - succeeding even if no valid database container or backup file exists. The fixing PR includes a test enumerating exactly these breakout payloads, confirming feasibility, though no standalone public exploit was identified.

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

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

Alert me

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

dokploy < 0.29.13

Affected Packages

euvd dokploy fix: 0.29.13

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

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

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
Aug 10, 2026 - 18:19 EUVD
CVE Published
Aug 10, 2026 - 17:26 cve.org
CRITICAL 9.9

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

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
growing open-source self-hosted PaaS, common but not ubiquitous
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.5%
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
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-129986 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets a low-privileged member with file-mount create and delete

CVE-2026-129991 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets an organization member holding backup permission on a sing

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

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