# CVE-2026-45628: Dokploy command injection in deployment pipeline

Source: https://junglewise.ai/threats/cve-2026-45628-dokploy-command-injection-in-deployment-pipeline  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-05-29  
License: CC BY 4.0 with a link back

CVE-2026-45628 · Severity: critical · CVSS 9.6 · Published 2026-05-29

Dokploy is a self-hostable platform used to manage and deploy applications. A security flaw allows authorized users to execute malicious commands on the server by entering specially crafted text into application settings like branch names or repository URLs. This could allow an attacker to take full control of the server and any other applications hosted on it.

Technologies: [Dokploy](https://junglewise.ai/threats/technologies/dokploy). Vendors: [Dokploy](https://junglewise.ai/threats/vendors/dokploy).

## Quick answers

**Is CVE-2026-45628 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45628 being exploited in the wild.

**How severe is CVE-2026-45628?** Critical severity, with a CVSS score of 9.6, published 29 May 2026.

**Which products and versions are affected?** Dokploy <= 0.29.2.

**Is there a fix for CVE-2026-45628?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-45628 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-45628?** Check whether you run Dokploy at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Dokploy (v0.29.2 and earlier) is vulnerable to OS command injection because it uses JavaScript template literals to construct shell commands for Git and Docker operations. These commands are executed via 'child_process.exec()', which invokes a shell (/bin/sh -c). User-supplied inputs, including branch names, repository URLs, and Docker credentials, are interpolated directly into these strings without escaping. An authenticated attacker with application create/edit privileges can inject shell metacharacters (e.g., semicolons) to achieve remote code execution. Because Dokploy typically has access to the Docker socket, this can lead to full host compromise. While a 'shEscape()' function exists in the codebase, it was not applied to the deployment pipeline paths.

## Affected products

- Dokploy Dokploy <= 0.29.2

## Timeline

- 2026-05-11: advisory: GitHub Security Advisory published
- 2026-05-29: disclosed: CVE published to NVD

## References

- [https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c](https://github.com/Dokploy/dokploy/security/advisories/GHSA-3frc-cfh9-ch2c)

## Related threats

- [Dokploy missing ownership check in application monitoring](https://junglewise.ai/threats/cve-2026-127212-dokploy-before-0-31-1-contains-a-missing-ownership-check)
- [Dokploy authorization bypass in application management](https://junglewise.ai/threats/cve-2026-116068-dokploy-through-0-30-10-contains-an-authorization-bypass)
- [Dokploy cross-organization authorization bypass in port router](https://junglewise.ai/threats/cve-2026-111331-dokploy-through-0-30-8-contains-a-cross-organization)
- [Dokploy OS command injection in patch repository read](https://junglewise.ai/threats/cve-2026-93425-dokploy-is-a-free-self-hostable-platform-as-a-service-paas-prior)
- [Dokploy credential disclosure in provider APIs](https://junglewise.ai/threats/cve-2026-86059-dokploy-is-a-free-self-hostable-platform-as-a-service-paas-prior)
