Servers and applications
GHSA-wcp5-g62q-jfr9
Path Traversal & RCE via unzipDrop and Schedules
- Severity
- Critical
- Published
- 12 Nov 2026
- Last changed
- 12 Nov 2026
- Added to UpHeron
- 12 Nov 2026
- Fixed in
- 0.31.1
- Weakness
- Path traversal (CWE-22)
- Sources
- Project advisories (GitHub)
Description
- Project: Dokploy
- Version: v0.29.4
- Severity: Critical (9.1)
- Vulnerability Type: Path Traversal (CWE-22) / RCE
The unzipDrop utility, used for "Drop" deployments, attempts to prevent path traversal but uses a flawed validation mechanism. The readValidDirectory function uses a weak regular expression that allows . and / characters. Furthermore, it validates that the resolved path starts with the base directory /etc/dokploy, but it does not restrict the path to the specific application's deployment directory. This allows an attacker to write files anywhere within /etc/dokploy, including sensitive locations like the schedules directory.
Remote Code Execution. An attacker can overwrite system configurations, hijack other applications, or achieve persistent RCE by manipulating scheduled tasks.
Affected software
| Software | Affected versions |
|---|---|
DokployServers and applications · github:dokploy/dokploy |
|
References
- GitHub Advisory Database https://github.com/advisories/GHSA-wcp5-g62q-jfr9
- github.com https://github.com/Dokploy/dokploy/security/advisories/GHSA-wcp5-g62q-jfr9