CVE-2026-72733
CriticalCVSS 9.9Summary
Dokploy before version 0.29.13 contains a command injection vulnerability in the backup.restoreBackupWithLogs subscription, where databaseName and backupFile fields are interpolated into database restore commands without proper separation from shell syntax. An authenticated user with backup-restore permission can inject operating system commands executed in the Dokploy host context.
Risk Assessment
An attacker can execute arbitrary commands on the Dokploy host, potentially leading to full system and data compromise.
Recommendation
Upgrade Dokploy to version 0.29.13 or later, which includes the fix.
Original NVD description (English source)
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.

