Skip to main content

Dokploy CVE-2026-72869

| EUVDEUVD-2026-55728 CRITICAL
Command Injection (CWE-77)
2026-08-10 GitHub_M
9.9
CVSS 3.1 · Vendor: GitHub_M
Share

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 tRPC endpoint (AV:N/AC:L) requires a low-privilege backup:restore account (PR:L), no interaction (UI:N), and injected code escapes the container to the Docker-privileged host (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

4
Patch available
Aug 10, 2026 - 20:04 EUVD
Source Code Evidence Fetched
Aug 10, 2026 - 19:25 vuln.today
Analysis Generated
Aug 10, 2026 - 19:25 vuln.today
CVE Published
Aug 10, 2026 - 18:40 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 passes the databaseName parameter to restore builders in packages/server/src/utils/restore/utils.ts, where PostgreSQL, MariaDB, MySQL, and MongoDB commands embed the value in nested shell text executed by Node.js exec. An authenticated user with backup:restore permission can supply a crafted databaseName that the host /bin/sh expands before docker exec, resulting in arbitrary commands running in the Docker-privileged host context. This issue is fixed in version 0.29.13.

AnalysisAI

OS command injection in Dokploy (self-hosted PaaS) before 0.29.13 lets an authenticated user with the backup:restore permission run arbitrary commands on the Docker-privileged host. The backup.restoreBackupWithLogs tRPC subscription forwards an attacker-controlled databaseName into shell strings that Node.js exec passes to /bin/sh before docker exec, so the outer host shell expands injected metacharacters. Rated CVSS 9.9 with a scope change to the host; no public exploit identified at time of analysis, though the upstream fix PR ships regression tests containing working injection payloads.

Technical ContextAI

Dokploy is a free, self-hostable Platform-as-a-Service (a Heroku/Vercel-style deployment layer) that orchestrates application and database containers via Docker. The vulnerable code in packages/server/src/utils/restore/utils.ts (and the parallel backups/utils.ts) builds restore/backup commands for PostgreSQL, MariaDB, MySQL, and MongoDB by string-interpolating user-supplied values (databaseName, user, password) directly into a docker exec ... bash -c "..." template. That template is handed to Node.js child_process exec, which spawns /bin/sh -c on the host; the host shell expands $(), backticks, and quote-breakouts in databaseName before docker even runs. This is a classic CWE-77 (Improper Neutralization of Special Elements used in a Command) issue caused by unescaped interpolation across two shell layers. The fix moves all user values into docker exec -e VAR=<shell-quote-escaped> environment variables referenced as "$VAR" inside a single-quoted inner script, so the values never appear inline in shell text.

RemediationAI

Vendor-released patch: upgrade to Dokploy 0.29.13, which rewrites the backup and restore command builders to pass database name, user, and password as shell-quote-escaped docker exec -e environment variables consumed inside a single-quoted inner script (see PR https://github.com/Dokploy/dokploy/pull/4862 and commit ccd2e83c57d99f725220d37e0152270e0827d71b). Upgrading is the only complete fix. If you cannot patch immediately, restrict the blast radius by removing the backup:restore permission from all but fully trusted operators and auditing which accounts currently hold it, and treat the Dokploy control plane as host-root-equivalent by placing its web interface behind a VPN or IP allowlist so account compromise is harder - the trade-off is that legitimate restore operations become manual/gated and remote administrative access is reduced. Do not rely on input validation of database names as a substitute for the upgrade, since crafting a robust denylist across four DB engines and two shell layers is error-prone. Advisory: https://github.com/Dokploy/dokploy/security/advisories/GHSA-f7mp-9jfp-mjrr.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Share

CVE-2026-72869 vulnerability details – vuln.today

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