{"id":"CVE-2026-45628","published":"2026-05-29T16:33:23Z","modified":"2026-05-29T19:29:45Z","title":"Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline","vendor":"Dokploy","product":"dokploy","tier":"tail","description":{"text":"Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.29.2 and earlier, Dokploy constructs shell commands using JavaScript template literals and executes them via child_process.exec() (which runs through /bin/sh -c). User-supplied branch names, repository URLs, and Docker credentials are interpolated directly into these commands without escaping. This requires an authenticated user with application create/edit privileges.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00392,"percentile":0.24969,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":4.99},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"dokploy","affectedVersions":[{"vendor":"Dokploy","product":"dokploy","versions":["<= 0.29.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-29T19:29:25.780039Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-33360","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dokploy-cve-2026-45628","children":[{"from":"CVE-2026-45628","to":"CVE-2026-72867","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"From 0.29.3 until 0.29.13, the incomplete fix for CVE-2026-45628 leaves packages/server/src/db/schema/compose.ts branch fields without server-side validation, allowing a direct compose.update request to store a malicious customGitBranch,…","from":"CVE.org","in":"CVE-2026-72867"}]}]}}