CVE-2026-45628 Dokploy: Command Injection via Unescaped Branch Fields in Deployment Pipeline

Critical 9.6 Published Updated

Authenticated attackers can execute arbitrary commands on the server by injecting malicious input into deployment branch fields.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-45628?

CVE-2026-45628 is a critical command injection vulnerability in dokploy, published on 29 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-77, CWE-20

Which versions are affected by CVE-2026-45628?

How do I fix CVE-2026-45628?

No fix has been published for CVE-2026-45628 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-45628 being exploited?

There is no known exploitation of CVE-2026-45628 in the wild and no public exploit code.

Sources

Also known as GHSA-3frc-cfh9-ch2c.

Is CVE-2026-45628 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free