CVE-2026-45628 PUBLISHED

Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline

Assigner: GitHub_M
Reserved: 12.05.2026 Published: 29.05.2026 Updated: 29.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS Score: 9.6

Product Status

Vendor Dokploy
Product dokploy
Versions
  • Version <= 0.29.2 is affected

References

Problem Types

  • CWE-20: Improper Input Validation CWE
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') CWE