{"id":"CVE-2026-129989","state":"PUBLISHED","title":"Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline","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.","publishedAt":"2026-11-18T22:29:00.639Z","updatedAt":"2026-11-19T19:33:13.148Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Dokploy dokploy"],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"< 0.31.1","status":"affected"}]}],"references":["https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw","https://github.com/Dokploy/dokploy/pull/5911","https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3","https://github.com/Dokploy/dokploy/releases/tag/v0.31.1"],"weaknesses":["CWE-78"],"ingestedAt":"2026-11-19T19:42:06.182Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/129xxx/CVE-2026-129989.json","commit":"196e8f63e0271fb365798f9d256e32fae2b6aab1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-129989","state":"PUBLISHED","datePublished":"2026-11-18T22:29:00.639Z","dateUpdated":"2026-11-19T19:33:13.148Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-16T17:07:41.148Z"},"containers":{"cna":{"title":"Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"< 0.31.1","status":"affected"}]}],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw","name":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Dokploy/dokploy/pull/5911","name":"https://github.com/Dokploy/dokploy/pull/5911","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3","name":"https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","name":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-18T22:29:00.639Z"},"source":{"advisory":"GHSA-98j8-6vjr-c3xw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T19:32:53.264243Z","id":"CVE-2026-129989","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-19T19:33:13.148Z"}}]}}}