# CVE-2026-72877: Dokploy: Command Injection via dockerImage in buildRemoteDocker

- Severity: Critical 9.6 (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: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.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-10T19:02:28.518Z
- 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, the dockerImage field is interpolated without quoting into shell commands in buildRemoteDocker() in packages/server/src/utils/providers/docker.ts and is validated only as an optional string. An authenticated user with application create or update permission can use shell command substitution in dockerImage to execute arbitrary commands on the local build host or a remote SSH build target, exposing host secrets and other projects. 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-jxxj-gmpx-h5rj> (exploit)
- <https://github.com/Dokploy/dokploy/pull/4860>
- <https://github.com/Dokploy/dokploy/commit/cba0b253c7de4157dd932de7f16a2ad247c7cee9>
- <https://github.com/Dokploy/dokploy/releases/tag/v0.29.13>

## Sources

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

---

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