Dokploy Path Traversal and Command Injection Flaws
2025-07-07
Dokploy is a self-hostable Platform as a Service (PaaS) that simplifies the deployment and management of applications and databases. An authenticated, low-privileged user can run arbitrary OS commands on the Dokploy host. The tRPC procedure docker.getContainersByAppNameMatch interpolates the attacker-supplied appName value into a Docker CLI call without sanitisation, enabling command injection under the Dokploy service account. This vulnerability is fixed in 0.23.7.
Authenticated path traversal in Dokploy before 0.23.7 allows a logged-in user to read files accessible to the Traefik process user through the Traefik configuration endpoint, including application source and environment files that may contain credentials and secrets. The flaw is a moderate information-disclosure issue (CWE-22) with a vendor patch in 0.23.7; no public exploit was identified at time of analysis and EPSS is low at 0.07%.
A security vulnerability in Dokploy (CVSS 4.3). Remediation should follow standard vulnerability management procedures. Vendor patch is available.