# CVE-2026-72884: Dokploy: Command Injection via Compose Custom Command

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-10T19:30:07.319Z
- Modified: 2026-09-08T20:54:37.790Z
- 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, sanitizeCommand in packages/server/src/utils/builders/compose.ts only trims whitespace and strips surrounding quotes from compose.command before exportEnvCommand and docker command interpolation, allowing an authenticated user who can update a Compose service to inject shell metacharacters and execute arbitrary commands on the Dokploy host. 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-qh6h-669j-77rw> (exploit)
- <https://github.com/Dokploy/dokploy/pull/4863>
- <https://github.com/Dokploy/dokploy/commit/d48037a80203bb0ecaec4f5653aef75fcfdb656d>
- <https://github.com/Dokploy/dokploy/releases/tag/v0.29.13>

## Sources

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

---

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