{"id":"CVE-2026-72733","summary":"Dokploy: OS Command Injection via `databaseName` / `backupFile` in database restore","details":"Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the backup.restoreBackupWithLogs tRPC subscription builds database restore shell pipelines from the user-controlled databaseName and backupFile fields without safely separating them from shell syntax. packages/server/src/utils/restore/utils.ts interpolates databaseName into database-specific restore commands, while packages/server/src/utils/restore/postgres.ts and the analogous restore modules interpolate backupFile into rclone paths. An authenticated member with backup-restore permission can inject operating-system commands that execute in the Dokploy host context through execAsync or execAsyncRemote, even when no valid database container or backup file exists. This issue is fixed in version 0.29.13.","aliases":["GHSA-2xjq-p4xx-5x2p"],"modified":"2026-08-12T04:19:24.592709788Z","published":"2026-08-10T17:26:29.945Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72733.json"},"references":[{"type":"WEB","url":"https://github.com/Dokploy/dokploy/releases/tag/v0.29.13"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72733.json"},{"type":"ADVISORY","url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-2xjq-p4xx-5x2p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72733"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/commit/8539a5c82f47eb3fd1464b574eb034c6dc2a6bbd"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/commit/ccd2e83c57d99f725220d37e0152270e0827d71b"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/commit/eeb6e7b8ea88e4b4b1fac8460755464100516ac9"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/pull/4862"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dokploy/dokploy","events":[{"introduced":"0"},{"fixed":"8539a5c82f47eb3fd1464b574eb034c6dc2a6bbd"},{"fixed":"ccd2e83c57d99f725220d37e0152270e0827d71b"},{"fixed":"eeb6e7b8ea88e4b4b1fac8460755464100516ac9"},{"fixed":"8b868c66d6672be40b86315a704ea1b3b09cb2d3"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.29.13"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.29.12","v0.29.11","v0.29.10","v0.29.9","v0.29.8","v0.29.7","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.1","v0.15.0","v0.14.1","v0.14.0","v0.13.1","v0.13.0","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.10","v0.10.9","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.1","v0.5.0","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.1.0","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72733.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}