CVE-2026-45662 Dokploy: Command Injection via incomplete shell escaping in docker logout (registry deletion)
Attackers can execute arbitrary commands on the server by providing a malicious registry URL during registry deletion in Dokploy.
- 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-45662?
CVE-2026-45662 is a high-severity 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.0 and earlier, the deleteRegistry function in Dokploy (packages/server/src/services/registry.ts) executes docker logout ${response.registryUrl} without shell escaping. In the same file, the docker login command correctly uses shEscape() to prevent command injection. This inconsistency creates a command injection vulnerability when deleting a registry with a crafted registryUrl.
Weakness: CWE-78
Which versions are affected by CVE-2026-45662?
How do I fix CVE-2026-45662?
No fix has been published for CVE-2026-45662 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-45662 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45662 exists.
Sources
Also known as GHSA-827c-7x62-29jq.