Description
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.
Published: 2026-08-10
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An authenticated user with backup:restore permission can craft a databaseName value that is passed directly into shell commands executed by Node.js exec within Dokploy's backup restoration process. This causes the host’s shell to expand the value before a Docker exec call, allowing arbitrary commands to run with host privileges. The flaw is an OS command injection leading to full host compromise.

Affected Systems

The vulnerability exists in the Dokploy Platform as a Service platform, primarily in all releases prior to 0.29.13. Users running self-hosted Dokploy deployments that have enabled the backup.restoreBackupWithLogs RPC endpoint and granted backup:restore authority to any account are susceptible.

Risk and Exploitability

With a CVSS score of 9.9, the bug is rated critical. EPSS data is not provided, but the lack of a KEV listing suggests it may not yet be widely exploited, yet the impact of host RCE warrants immediate attention. The exploit requires no special network access beyond the standard authenticated session, making the attack vector internal but easily achievable for legitimate users with backup rights or compromised accounts.

Generated by OpenCVE AI on August 10, 2026 at 20:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade your Dokploy installation to version 0.29.13 or later to apply the vendor fix.
  • Restrict the backup:restore permission to only trusted administrators and audit the assignment of that role.
  • If an upgrade cannot be performed immediately, disable or remove the backup.restoreBackupWithLogs RPC endpoint from the server configuration to block the injection vector.
  • Monitor authentication logs for any anomalous use of backup:restore to detect potential abuse.

Generated by OpenCVE AI on August 10, 2026 at 20:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 03:15:00 +0000

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy

Mon, 10 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Dokploy: Authenticated OS command injection in backup.restoreBackupWithLogs (databaseName) leading to host RCE
Weaknesses CWE-77
CWE-78
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:40:48.087Z

Reserved: 2026-08-10T15:28:27.616Z

Link: CVE-2026-72869

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:00:04Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')