{"id":"CVE-2026-129991","state":"PUBLISHED","title":"Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root","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.","publishedAt":"2026-11-18T22:21:41.545Z","updatedAt":"2026-11-19T15:56:32.048Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Dokploy dokploy"],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"< 0.31.1","status":"affected"}]}],"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"],"weaknesses":["CWE-78"],"ingestedAt":"2026-11-19T16:18:04.389Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/129xxx/CVE-2026-129991.json","commit":"f864b399b7f6ed483deb45b07aadd937553f0511","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-129991","state":"PUBLISHED","datePublished":"2026-11-18T22:21:41.545Z","dateUpdated":"2026-11-19T15:56:32.048Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-16T17:07:41.148Z"},"containers":{"cna":{"title":"Dokploy: Authenticated Command Injection via unescaped backup.prefix in database/service backup commands leads to RCE as root","descriptions":[{"lang":"en","value":"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":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"< 0.31.1","status":"affected"}]}],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv","name":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Dokploy/dokploy/pull/5908","name":"https://github.com/Dokploy/dokploy/pull/5908","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a","name":"https://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","name":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-18T22:21:41.545Z"},"source":{"advisory":"GHSA-2gq3-9q77-8hgv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T15:47:32.507048Z","id":"CVE-2026-129991","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-19T15:56:32.048Z"}}]}}}