{"id":"CVE-2026-45628","state":"PUBLISHED","title":"Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline","description":"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.","publishedAt":"2026-05-29T16:33:23.681Z","updatedAt":"2026-05-29T19:29:45.302Z","severity":{"score":9.6,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Dokploy dokploy"],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"<= 0.29.2","status":"affected"}]}],"references":["https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c"],"weaknesses":["CWE-20","CWE-77"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45628.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45628","state":"PUBLISHED","datePublished":"2026-05-29T16:33:23.681Z","dateUpdated":"2026-05-29T19:29:45.302Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-12T20:31:43.449Z"},"containers":{"cna":{"title":"Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Dokploy","product":"dokploy","versions":[{"version":"<= 0.29.2","status":"affected"}]}],"references":[{"url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c","name":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.6,"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:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-29T16:33:23.681Z"},"source":{"advisory":"GHSA-3frc-cfh9-ch2c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-29T19:29:25.780039Z","id":"CVE-2026-45628","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-29T19:29:45.302Z"}}]}}}