{"id":"CVE-2026-129991","aliases":["EUVD-2026-129321","GHSA-2gq3-9q77-8hgv"],"title":"Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root","originalDescription":"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.","severity":{"cvss":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.00524,"percentile":0.45961},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv","type":"x_refsource_CONFIRM"},{"url":"https://github.com/Dokploy/dokploy/pull/5908","type":"x_refsource_MISC"},{"url":"https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a","type":"x_refsource_MISC"},{"url":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129991.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129991","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-19T16:50:09.627Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129991","license":"NVD terms of use","firstSeenAt":"2026-11-18T23:39:17.342Z"},{"name":"osv","at":"2026-11-19T00:45:18.833Z","url":"https://osv.dev/vulnerability/CVE-2026-129991","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T00:11:52.678Z"},{"name":"euvd","at":"2026-11-18T23:39:25.968Z","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-129321","license":"ENISA","firstSeenAt":"2026-11-18T23:05:32.562Z"},{"name":"cvelistV5","at":"2026-11-19T22:18:19.966Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129991","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T22:30:28.175Z"}],"firstSeenAt":"2026-11-18T22:30:28.175Z","publishedAt":"2026-11-18T22:21:41.000Z","modifiedAt":"2026-11-19T16:19:52.093Z"}