{"id":"CVE-2026-72869","state":"PUBLISHED","title":"Dokploy: Authenticated OS command injection in backup.restoreBackupWithLogs (databaseName) leading to host RCE","description":"Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the backup.restoreBackupWithLogs tRPC subscription passes the databaseName parameter to restore builders in packages/server/src/utils/restore/utils.ts, where PostgreSQL, MariaDB, MySQL, and MongoDB commands embed the value in nested shell text executed by Node.js exec. An authenticated user with backup:restore permission can supply a crafted databaseName that the host /bin/sh expands before docker exec, resulting in arbitrary commands running in the Docker-privileged host context. This issue is fixed in version 0.29.13.","publishedAt":"2026-08-10T18:40:48.087Z","updatedAt":"2026-08-11T14:38:29.497Z","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.29.13","status":"affected"}]}],"references":["https://github.com/Dokploy/dokploy/security/advisories/GHSA-f7mp-9jfp-mjrr","https://github.com/Dokploy/dokploy/pull/4862","https://github.com/Dokploy/dokploy/commit/ccd2e83c57d99f725220d37e0152270e0827d71b","https://github.com/Dokploy/dokploy/releases/tag/v0.29.13"],"weaknesses":["CWE-77","CWE-78"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72869.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72869","state":"PUBLISHED","datePublished":"2026-08-10T18:40:48.087Z","dateUpdated":"2026-08-11T14:38:29.497Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-10T15:28:27.616Z"},"containers":{"cna":{"title":"Dokploy: Authenticated OS command injection in backup.restoreBackupWithLogs (databaseName) leading to host RCE","descriptions":[{"lang":"en","value":"Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the backup.restoreBackupWithLogs tRPC subscription passes the databaseName parameter to restore builders in packages/server/src/utils/restore/utils.ts, where PostgreSQL, MariaDB, MySQL, and MongoDB commands embed the value in nested shell text executed by Node.js exec. An authenticated user with backup:restore permission can supply a crafted databaseName that the host /bin/sh expands before docker exec, resulting in arbitrary commands running in the Docker-privileged host context. This issue is fixed in version 0.29.13."}],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"< 0.29.13","status":"affected"}]}],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-f7mp-9jfp-mjrr","name":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-f7mp-9jfp-mjrr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Dokploy/dokploy/pull/4862","name":"https://github.com/Dokploy/dokploy/pull/4862","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/commit/ccd2e83c57d99f725220d37e0152270e0827d71b","name":"https://github.com/Dokploy/dokploy/commit/ccd2e83c57d99f725220d37e0152270e0827d71b","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/releases/tag/v0.29.13","name":"https://github.com/Dokploy/dokploy/releases/tag/v0.29.13","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-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-10T18:40:48.087Z"},"source":{"advisory":"GHSA-f7mp-9jfp-mjrr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T14:37:48.242833Z","id":"CVE-2026-72869","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-11T14:38:29.497Z"}}]}}}