{"id":"CVE-2026-129989","published":"2026-11-18T23:17:18Z","modified":"2026-11-19T20:17:28Z","title":"Dokploy: OS Command Injection via unsanitized publishDirectory in Nixpacks build pipeline","vendor":"Dokploy","product":"dokploy","tier":"core","eol":null,"affectedVersions":[{"vendor":"Dokploy","product":"dokploy","versions":["< 0.31.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-19T19:32:53.264243Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Dokploy, a self-hostable Platform as a Service, contains an OS command injection flaw in its Nixpacks build pipeline, where the publishDirectory build setting is passed unsanitized into a docker cp command run through child_process.exec. An authenticated user with access to an application can trigger a Nixpacks deployment with shell metacharacters in that setting to execute arbitrary commands on the Dokploy host, reachable over the network without user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:46:41Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00678,"percentile":0.53236,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"Known_Cve | Nov 20, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6aff5fb2dac8a5d861c8dea0","created":"2026-11-19"},{"name":"Known_Cve | Nov 19, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6afeb7df5f4757bb323ff99d","created":"2026-11-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/pull/5911","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/releases/tag/v0.31.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw","tags":[]},{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-98j8-6vjr-c3xw","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-129327","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-129327","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-18","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129989","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":18.7,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":10.65,"detail":"percentile 0.5324"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-dokploy-cve-2025-53825","parents":[{"from":"CVE-2025-53825","to":"CVE-2026-129989","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/server/src/db/schema/application.ts"],"commits":["https://github.com/Dokploy/dokploy/commit/1977235d313824b9764f1a06785fb7f73ab7eba2","https://github.com/Dokploy/dokploy/commit/2cd86b2447daba8fefec1272718d40463e18d6a3"],"basis":"shared function","functions":["createInsertSchema"]}]}]}}