{"id":"CVE-2026-45628","summary":"Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline","details":"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.","aliases":["GHSA-3frc-cfh9-ch2c"],"modified":"2026-07-08T08:13:30.216280947Z","published":"2026-05-29T16:33:23.681Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45628.json","cwe_ids":["CWE-20","CWE-77"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45628.json"},{"type":"ADVISORY","url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45628"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dokploy/dokploy","events":[{"introduced":"0"},{"last_affected":"fb6b06f064b7eaa8e08878d5cfdea50ec3d774fa"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"0.29.2"}]}}],"versions":["v0.29.2","v0.29.1","v0.29.0","v0.28.8","v0.28.7","v0.28.6","v0.28.5","v0.28.4","v0.28.3","v0.28.2","v0.28.1","v0.28.0","v0.27.1","v0.27.0","v0.26.7","v0.26.6","v0.26.5","v0.26.4","v0.26.3","v0.26.2","v0.26.0","v0.26.1","v0.25.11","v0.25.10","v0.25.9","v0.25.8","v0.25.7","v0.25.6","v0.25.5","v0.25.4","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.24.12","v0.24.11","v0.24.10","v0.24.9","v0.24.8","v0.24.7","v0.24.6","v0.24.5","v0.24.4","v0.24.3","v0.24.2","v0.24.1","v0.24.0","v0.23.7","v0.23.6","v0.23.5","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.7","v0.22.6","v0.22.5","v0.22.4","v0.22.3","v0.22.2","v0.22.1","v0.22.0","v0.21.8","v0.21.7","v0.21.0","v0.21.4","v0.21.6","v0.21.5","v0.21.3","v0.21.2","v0.21.1","v0.20.8","v0.20.7","v0.20.6","v0.20.5","v0.20.4","v0.20.3","v0.20.2","v0.20.1","v0.20.0","v0.19.1","v0.18.4","v0.19.0","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.9","v0.17.8","v0.17.7","v0.17.6","v0.17.5","v0.17.4","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-45628.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}