漏洞描述
Dokploy <= 0.29.12 is vulnerable to authenticated OS command injection through the customGitBranch field of a compose service. The value is concatenated unsanitized into git clone --branch <customGitBranch> ... and executed via /bin/sh during deploy (packages/server/src/utils/providers/git.ts -> child_process.exec). An authenticated user can inject shell metacharacters to achieve remote code execution on the Dokploy host.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-72867↗github.comhttps://github.com/dokploy/dokploy↗github.comhttps://github.com/Dokploy/dokploy/commit/47347ab885b0ad1f5d0ef0e5e74bbba35c7f93bc↗github.comhttps://github.com/Dokploy/dokploy/pull/4855↗github.comhttps://github.com/Dokploy/dokploy/releases/tag/v0.29.13↗github.comhttps://github.com/Dokploy/dokploy/security/advisories/GHSA-cg8g-x23v-5fw8↗