Dokploy command execution in backup prefix
dokploy
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Dokploy dokploy |
| No fix yet |
Original description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the backup prefix field is only checked for a nonempty 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 configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or performs retention cleanup. This issue is fixed in version 0.31.1.
From the CVE record · GitHub_M
References
- github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv
- github.com/Dokploy/dokploy/pull/5908
- github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a
- github.com/Dokploy/dokploy/releases/tag/v0.31.1
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129991.json
- nvd.nist.gov/vuln/detail/CVE-2026-129991