Skip to content
OpenAdvisories
Critical · 9.9 CVE-2026-72733 EUVD-2026-55679

Dokploy: OS Command Injection via `databaseName` / `backupFile` in database restore

Published Aug 10, 2026 · Updated Sep 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Dokploy dokploy < 0.29.13 —

References