Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.26.5 and earlier, a critical path traversal vulnerability exists in Dokploy v0.26.5 that allows authenticated users to write arbitrary files to the filesystem during application deployment. When combined with Dokploy's remote server deployment feature, this vulnerability enables arbitrary file write to remote server filesystems, automatic remote code execution via cron jobs, complete server compromise, data exfiltration without user interaction, and persistent backdoor installation. This vulnerability bypasses all container isolation on remote server deployments.
The vulnerability (CWE-22, CWE-35) consists of insufficient validation of file paths during the application deployment process, allowing an attacker to escape the allowed directory and write files to arbitrary locations in the file system. When the remote deployment function is active, the same mechanism operates on remote servers. An attacker can then obtain automatic code execution by writing malicious entries to the task scheduler (cron jobs), which requires no additional interaction from the victim. The vulnerability completely bypasses container isolation applied during remote deployments.
An authenticated attacker can gain full control over local and remote servers, steal data, install persistent backdoors, and execute arbitrary code (RCE) — all without interaction from other users.
Apply patches available from the vendor according to references (advisory GHSA-66v7-g3fh-47h3 on GitHub). Until updating, it is recommended to restrict access to the Dokploy panel exclusively to trusted users and disable remote deployment functions on production servers.
Dokploy version 0.26.5 and all earlier versions
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H