# CVE-2026-129991: Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-11-18T22:21:41.545Z
- Modified: 2026-11-19T16:19:52.093Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Dokploy dokploy: < 0.31.1

## References

- <https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv>
- <https://github.com/Dokploy/dokploy/pull/5908>
- <https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a>
- <https://github.com/Dokploy/dokploy/releases/tag/v0.31.1>

## Sources

- CVE List: [CVE-2026-129991](https://www.cve.org/CVERecord?id=CVE-2026-129991), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-129991](https://nvd.nist.gov/vuln/detail/CVE-2026-129991), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-129991 · Whole record: https://cve.day/CVE-2026-129991.json · Rebuilt by cve.day 2026-11-25T22:59:51.930Z
