Dokploy backup prefix command injection (CVE-2026-129991)
Authenticated Dokploy users with backup permission can execute arbitrary commands as root via shell metacharacters in the backup prefix field. Fixed in Dokploy 0.31.1.
CVE-2026-129991 affects Dokploy before 0.31.1. The backup prefix field is only checked for a non-empty value, and normalizeS3Path preserves shell metacharacters before the prefix is interpolated into rclone upload and retention-cleanup command strings. An authenticated organization member with backup permission for a service can execute arbitrary commands as root on the Dokploy host or a configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or during retention cleanup.
Fixed in Dokploy 0.31.1. No evidence of in-the-wild exploitation was provided in the cited sources.