8.8high
Dokploy: Command Injection via incomplete shell escaping in docker logout (registry deletion)
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.02% (higher than 64% 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.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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Dokploy dokploy | <= 0.29.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Dokploy es una Plataforma como Servicio (PaaS) gratuita y autoalojable. En la versión 0.29.0 y anteriores, la función deleteRegistry en Dokploy (packages/servidor/src/services/registry.ts) ejecuta docker logout ${response.registryUrl} sin escape de shell. En el mismo archivo, el comando docker login utiliza correctamente shEscape() para prevenir la inyección de comandos. Esta inconsistencia crea una vulnerabilidad de inyección de comandos al eliminar un registro con una registryUrl manipulada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45662 changed 2026-06-02 | CVE Terms of Use |
| NVD | CVE-2026-45662 changed 2026-10-06 | Public domain |