# CVE-2026-72733: Dokploy: OS Command Injection via `databaseName` / `backupFile` in database restore

- 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.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-10T17:26:29.945Z
- Modified: 2026-09-21T19:17:09.440Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Dokploy dokploy: < 0.29.13

## References

- <https://github.com/Dokploy/dokploy/security/advisories/GHSA-2xjq-p4xx-5x2p> (exploit)
- <https://github.com/Dokploy/dokploy/pull/4862>
- <https://github.com/Dokploy/dokploy/commit/8539a5c82f47eb3fd1464b574eb034c6dc2a6bbd>
- <https://github.com/Dokploy/dokploy/commit/ccd2e83c57d99f725220d37e0152270e0827d71b>
- <https://github.com/Dokploy/dokploy/commit/eeb6e7b8ea88e4b4b1fac8460755464100516ac9>
- <https://github.com/Dokploy/dokploy/releases/tag/v0.29.13>
- <https://kb.cert.org/vuls/id/280377>

## Sources

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

---

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