Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability has been identified in Dokploy, a self-hostable Platform as a Service, that could allow an authenticated user to execute arbitrary commands on the host system. This issue stems from how the backup feature handles user-provided input, potentially enabling unauthorized code execution if the system is not updated.
- Authenticated users can run unauthorized commands.
- Confirms Dokploy's critical function in deployment workflows.
- Prioritize confirming Dokploy's relevance and exposure.
Attack Path
How an attacker could exploit the issue
An attacker with read access to backups can exploit this vulnerability by sending a specially crafted request to the backup listing endpoint. This request manipulates a search parameter, which is then used in a command executed on the server, potentially leading to arbitrary command execution on the Dokploy host.
- Authenticated user with backup read permission.
- Manipulated search parameter in backup list request.
- Arbitrary command execution on the host.
Live Threat
Current exploitation, exposure, and threat context
An authenticated user with backup read permissions could execute arbitrary commands on the Dokploy host. This could occur when the `backup.listBackupFiles` tRPC endpoint processes a search parameter, interpolating it into an `rclone lsjson` command executed via `child_process.exec()`.
- Host system commands.
- Via a specific API endpoint.
- Unauthorized command execution.
Operational Fix
Recommended remediation, mitigation, and detection steps
System owners and infrastructure teams are likely responsible for addressing this vulnerability in Dokploy, a self-hostable PaaS. The first practical step is to identify all Dokploy instances, confirm their network reachability and business criticality, and then assign ownership to the accountable team for remediation planning.
- Own the issue based on asset accountability.
- Verify Dokploy instance exposure and criticality.
- Plan remediation based on assessed risk.