CVE-2026-45662
JSON

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 packageVersionsReported by
Dokploy dokploy<= 0.29.0CVE List

Classification

CWE-78

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

SourceRecordLicence
CVE ListCVE-2026-45662 changed 2026-06-02CVE Terms of Use
NVDCVE-2026-45662 changed 2026-10-06Public domain