CVE-2026-72882
9.9Dokploy · dokploy
Dokploy versions 0.28.8 and earlier are vulnerable to OS command injection via the filePath parameter, allowing authenticated users to execute arbitrary commands on remote servers.
Executive summary
An authenticated OS command injection vulnerability in Dokploy allows attackers to execute arbitrary code on remote managed servers, leading to remote host compromise.
Vulnerability
The application fails to properly sanitize the filePath parameter when configuring file mounts for services. An authenticated user can inject malicious shell metacharacters, resulting in OS command injection that executes with the privileges of the Dokploy service on the target host.
Business impact
The ability to execute commands on remote managed servers via the web interface provides an attacker with a direct path to host-level exploitation. With a CVSS score of 9.9, this vulnerability severely undermines the security of the entire infrastructure managed by Dokploy. Unauthorized command execution can lead to complete system takeover and the compromise of all hosted data.
Remediation
Immediate Action: Verify if a vendor-supplied patch is available for your specific deployment and apply it immediately; if no patch is currently available, restrict access to the file mount configuration interface.
Proactive Monitoring: Review SSH logs on managed servers for suspicious command execution patterns or unexpected connections from the Dokploy host.
Compensating Controls: Utilize a Web Application Firewall to block requests containing shell metacharacters in the filePath input field.
Exploitation status
Public Exploit Available: No
Analyst recommendation
This vulnerability is a high-risk entry point for remote code execution. Administrators should audit all service file mount configurations and restrict access to these settings until a verified patch can be applied.