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

Impact

Dokploy, a self-hosted Platform as a Service, allows an authenticated user with backup‑restore permission to embed operating‑system commands into the databaseName and backupFile fields of a restore request. The application constructs shell pipelines from these unfiltered inputs, enabling the execution of arbitrary code on the host through execAsync and execAsyncRemote. This vulnerability is a classic operating‑system command injection (CWE‑78) that can compromise the entire system. The potential impact includes full system takeover, data theft, or destruction.

Affected Systems

All Dokploy installations running a version earlier than 0.29.13 are affected. The flaw exists in the restore utilities that build database‑specific restore commands and rclone paths from the unvalidated databaseName and backupFile parameters. No specific vendor product list beyond Dokploy is required to identify impacted systems.

Risk and Exploitability

The vulnerability has a CVSS score of 9.9, indicating critical severity. No EPSS score is published, so the likelihood of exploitation is unknown, but the flaw is not listed in the CISA KEV catalog. Attackers must first gain authenticated access with backup‑restore permission, which is typically granted to administrators or power users. Once authorized, the attacker can trigger the vulnerable pipeline and execute arbitrary commands in the host context, potentially leading to full system compromise.

Generated by OpenCVE AI on August 10, 2026 at 18:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later to apply the vendor‑provided fix.
  • Limit the assignment of the backup‑restore permission to trusted administrators only, following the principle of least privilege.
  • Enforce strict input validation for databaseName and backupFile fields to strip shell metacharacters or reject non‑alphanumeric values before constructing restore commands.

Generated by OpenCVE AI on August 10, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 17:45: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 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.
Title Dokploy: OS Command Injection via `databaseName` / `backupFile` in database restore
Weaknesses 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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T21:10:38.789Z

Reserved: 2026-08-10T13:48:09.546Z

Link: CVE-2026-72733

cve-icon Vulnrichment

Updated: 2026-08-10T19:01:33.274Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:45:17Z

Weaknesses
  • CWE-78

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