{"id":"CVE-2026-45662","summary":"Dokploy: Command Injection via incomplete shell escaping in docker logout (registry deletion)","details":"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.","aliases":["GHSA-827c-7x62-29jq"],"modified":"2026-07-15T01:49:06.894218137Z","published":"2026-05-29T16:04:51.019Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45662.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45662.json"},{"type":"ADVISORY","url":"https://github.com/Dokploy/dokploy/security/advisories/GHSA-827c-7x62-29jq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45662"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dokploy/dokploy","events":[{"introduced":"0"},{"last_affected":"4a271c11e7d63c91d9082b7a81e66895991aeccd"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.29.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v0.29.0","v0.28.8","v0.28.7","v0.28.6","v0.28.5","v0.28.4","v0.28.3","v0.28.2","v0.28.1","v0.28.0","v0.27.1","v0.27.0","v0.26.7","v0.26.6","v0.26.5","v0.26.4","v0.26.3","v0.26.2","v0.26.0","v0.26.1","v0.25.11","v0.25.10","v0.25.9","v0.25.8","v0.25.7","v0.25.6","v0.25.5","v0.25.4","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.24.12","v0.24.11","v0.24.10","v0.24.9","v0.24.8","v0.24.7","v0.24.6","v0.24.5","v0.24.4","v0.24.3","v0.24.2","v0.24.1","v0.24.0","v0.23.7","v0.23.6","v0.23.5","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.7","v0.22.6","v0.22.5","v0.22.4","v0.22.3","v0.22.2","v0.22.1","v0.22.0","v0.21.8","v0.21.7","v0.21.0","v0.21.4","v0.21.6","v0.21.5","v0.21.3","v0.21.2","v0.21.1","v0.20.8","v0.20.7","v0.20.6","v0.20.5","v0.20.4","v0.20.3","v0.20.2","v0.20.1","v0.20.0","v0.19.1","v0.18.4","v0.19.0","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.17.9","v0.17.8","v0.17.7","v0.17.6","v0.17.5","v0.17.4","v0.17.2","v0.17.1","v0.17.0","v0.16.1","v0.16.0","v0.15.1","v0.15.0","v0.14.1","v0.14.0","v0.13.1","v0.13.0","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.10","v0.10.9","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.4","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.1","v0.5.0","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.1.0","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45662.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}