9.9critical
Dokploy has Command Injection in its Service Operations
- Severity
- 9.9critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.22% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Versions 0.26.6 and below have OS command injection through the appName parameter. 3 chained issues cause this problem: inadequate input sanitization, lack of schema validation and direct shell interpolation. User-controlled application names are passed through inadequate sanitization (cleanAppName function only replaces spaces and converts to lowercase) before being interpolated directly into shell commands executed via execAsync() and execAsyncRemote(). An authenticated attacker can inject shell metacharacters (e.g., ;, $(), backticks, |, &) in the appName field during application creation, which are then executed with server-level privileges when service operations (start, stop, remove, scale) are triggered. This issue has been resolved in version 0.26.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Dokploy dokploy | < 0.26.7 | 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). Versions 0.26.6 and below have OS command injection through the appName parameter. 3 chained issues cause this problem: inadequate input sanitization, lack of schema validation and direct shell interpolation. User-controlled application names are passed through inadequate sanitization (cleanAppName function only replaces spaces and converts to lowercase) before being interpolated directly into shell commands executed via execAsync() and execAsyncRemote(). An authenticated attacker can inject shell metacharacters (e.g., ;, $(), backticks, |, &) in the appName field during application creation, which are then executed with server-level privileges when service operations (start, stop, remove, scale) are triggered. This issue has been resolved in version 0.26.7.
NVD (es)
Dokploy es una Plataforma como Servicio (PaaS) gratuita y autoalojable. Las versiones 0.26.6 e inferiores tienen inyección de comandos del sistema operativo a través del parámetro appName. 3 problemas encadenados causan este problema: saneamiento de entrada inadecuado, falta de validación de esquema e interpolación directa de shell. Los nombres de aplicación controlados por el usuario se pasan a través de un saneamiento inadecuado (la función cleanAppName solo reemplaza espacios y convierte a minúsculas) antes de ser interpolados directamente en comandos de shell ejecutados a través de execAsync() y execAsyncRemote(). Un atacante autenticado puede inyectar metacaracteres de shell (p. ej., ;, $(), backticks, |, &) en el campo appName durante la creación de la aplicación, los cuales son luego ejecutados con privilegios de nivel de servidor cuando se activan operaciones de servicio (iniciar, detener, eliminar, escalar). Este problema ha sido resuelto en la versión 0.26.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27130 changed 2026-05-19 | CVE Terms of Use |
| NVD | CVE-2026-27130 changed 2026-10-06 | Public domain |