CVE-2026-129991
9.9critical
Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root
- Severity
- 9.9critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Dokploy dokploy | < 0.31.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-129991 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129991 changed 2026-11-19 | Public domain |