Arbitrary Command Execution in Dokploy PaaS for PostgreSQL and MySQL Backups
CVE-2026-129991
9.9CRITICAL
What is CVE-2026-129991?
Dokploy, a self-hosted Platform as a Service (PaaS), prior to version 0.31.1, has a vulnerability that allows an authenticated user with backup permissions to execute arbitrary commands as root. This occurs when backing up data from services like PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web servers. The backup prefix field is inadequately validated, allowing shell metacharacters to be included in command strings used for uploading via rclone and retention cleanup. As a result, unauthorized actions can compromise the Dokploy host or any configured remote server. This issue has been resolved in version 0.31.1.
Affected Version(s)
dokploy < 0.31.1
