# CVE-2026-129989: Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline

- 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.78%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T22:29:00.639Z
- Modified: 2026-11-19T20:17:28.093Z
- 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.31.1, the Nixpacks publishDirectory build setting accepts shell metacharacters and is interpolated into a docker cp command executed through child_process.exec. An authenticated user with access to an application can execute arbitrary commands on the Dokploy host when triggering a Nixpacks deployment, leading to host compromise through the privileged Docker environment. This issue is fixed in version 0.31.1.

(As written by CVE List.)

## Affected

- Dokploy dokploy: < 0.31.1

## References

- <https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw> (exploit)
- <https://github.com/Dokploy/dokploy/pull/5911>
- <https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3>
- <https://github.com/Dokploy/dokploy/releases/tag/v0.31.1>

## Sources

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

---

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