9.6critical
Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline
- Severity
- 9.6critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Dokploy dokploy | <= 0.29.2 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
Dokploy es una Plataforma como Servicio (PaaS) gratuita y autoalojable. En 0.29.2 y versiones anteriores, Dokploy construye comandos de shell utilizando literales de plantilla de JavaScript y los ejecuta a través de child_process.exec() (que se ejecuta mediante /bin/sh -c). Los nombres de rama, las URL de repositorio y las credenciales de Docker proporcionados por el usuario se interpolan directamente en estos comandos sin escape. Esto requiere un usuario autenticado con privilegios de creación/edición de aplicaciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45628 changed 2026-05-29 | CVE Terms of Use |
| NVD | CVE-2026-45628 changed 2026-10-06 | Public domain |