# CVE-2026-72881: Dokploy: Command Injection via database credentials in backup/restore commands

- Severity: Medium 6.4 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:H/SI:H/SA: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.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-10T19:21:05.484Z
- Modified: 2026-09-08T20:54:37.790Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, database backup and restore command builders in packages/server/src/utils/backups/utils.ts and packages/server/src/utils/restore/utils.ts interpolate database names, usernames, and passwords into nested shell command strings passed to child_process.exec(). An authenticated administrator with permission to create databases and configure backups can use crafted database configuration fields to execute arbitrary commands inside PostgreSQL, MariaDB, MySQL, MongoDB, or LibSQL containers, exposing database data and credentials and potentially enabling escape when a container is overprivileged. 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-qc73-mp78-4833> (exploit)
- <https://github.com/Dokploy/dokploy/pull/4862>
- <https://github.com/Dokploy/dokploy/commit/ccd2e83c57d99f725220d37e0152270e0827d71b>
- <https://github.com/Dokploy/dokploy/releases/tag/v0.29.13>

## Sources

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

---

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