Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability in Dokploy, a self-hosted Platform as a Service, allows an authenticated user with specific permissions to execute arbitrary commands on the host system. This could lead to a complete compromise of the underlying infrastructure. The issue is related to how file paths are handled when deleting local file mounts.
- Authenticated users can run any command on the server.
- Important for PaaS users to verify system relevance.
- Confirm if your Dokploy deployment is affected.
Attack Path
How an attacker could exploit the issue
An attacker with authenticated access to Dokploy and permissions to create and delete file mounts could exploit this vulnerability. By initiating a file mount deletion, they can trigger the execution of arbitrary commands on the underlying host system without needing a running container. This occurs because the user-supplied file path is not properly handled, leading to command injection.
- Authenticated user with file mount permissions.
- Deleting a local file mount.
- Arbitrary command execution on host.
Live Threat
Current exploitation, exposure, and threat context
An authenticated Dokploy user with file-mount permissions could execute arbitrary commands on the host system when deleting a local file mount. This attack could occur without needing a running container and directly affects the host environment where Dokploy is deployed.
- Host system commands.
- Deleting a local file mount.
- Unauthorized host command execution.
Operational Fix
Recommended remediation, mitigation, and detection steps
Platform teams and application owners are likely responsible for addressing this vulnerability in Dokploy, as it impacts the self-hosted PaaS infrastructure. The immediate first step is to identify all Dokploy instances, determine their exposure and business criticality, confirm the responsible system owner, and then prioritize remediation efforts based on assessed risk.
- Identify Dokploy instances and owners.
- Verify exposure and business impact.
- Plan targeted remediation or mitigation.