{"id":"CVE-2026-129989","summary":"Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline","details":"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.","aliases":["GHSA-98j8-6vjr-c3xw"],"modified":"2026-11-19T21:01:21.483610474Z","published":"2026-11-18T22:29:00.639Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129989.json"},"references":[{"type":"WEB","url":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129989.json"},{"type":"ADVISORY","url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129989"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3"},{"type":"FIX","url":"https://github.com/Dokploy/dokploy/pull/5911"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dokploy/dokploy","events":[{"introduced":"0"},{"fixed":"68dd5fa59d2218dc39c1e732e3c72c426293839c"},{"fixed":"2cd86b2447daba8fefec1272718d40463e18d6a3"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.31.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2cd86b2447daba8fefec1272718d40463e18d6a3"}]},{"range":[{"fixed":"68dd5fa59d2218dc39c1e732e3c72c426293839c"}],"source":"REFERENCES_TAG","original_tag":"v0.31.1"}]}}],"versions":["v0.31.0","v0.30.10","v0.30.9","v0.30.8","v0.30.7","v0.30.6","v0.30.5","v0.30.4","v0.30.3","v0.30.2","v0.30.1","v0.30.0","v0.29.14","v0.29.13","v0.29.12","v0.29.11","v0.29.10","v0.29.9","v0.29.8","v0.29.7","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.1","v0.15.0","v0.14.1","v0.14.0","v0.13.1","v0.13.0","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.10","v0.10.9","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.1","v0.5.0","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.1.0","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-129989.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}