Skip to content

CVE-2026-72881 Dokploy: Command Injection via database credentials in backup/restore commands

MediumCVSS 6.4 EPSS 0.67%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
MySQLMariaDB

Description

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, database backup and restore command builders in packages/server/src/utils/backups/utils.ts and packages/server/src/utils/restore/utils.ts interpolate database names, usernames, and passwords into nested shell command strings passed to child_process.exec(). An authenticated administrator with permission to create databases and configure backups can use crafted database configuration fields to execute arbitrary commands inside PostgreSQL, MariaDB, MySQL, MongoDB, or LibSQL containers, exposing database data and credentials and potentially enabling escape when a container is overprivileged. This issue is fixed in version 0.29.13.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
dokploy = < 0.29.13 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
dokploy = < 0.29.13 No fix listed

References