Horizon Alert
Summary of the vulnerability and why it matters
This advisory addresses a critical vulnerability in Dokploy, a self-hosted platform for managing applications and services. The issue allows authenticated administrators to execute arbitrary system commands on the server, potentially impacting the confidentiality, integrity, and availability of the underlying infrastructure. The main concern is confirming relevance and exposure of this self-hosted service within your environment.
- Admin users can run unauthorized commands.
- It affects self-hosted infrastructure management.
- Verify if Dokploy is used in your environment.
Attack Path
How an attacker could exploit the issue
An attacker with administrative or owner privileges in Dokploy could exploit a vulnerability in the `application.updateTraefikConfig` tRPC endpoint. This vulnerability allows for the injection of operating system commands by leveraging unsanitized `echo` shell interpolation. By sending a specially crafted request to this endpoint, an attacker can achieve the execution of arbitrary system commands on the server hosting Dokploy.
- Attacker needs admin/owner access.
- Triggered via `application.updateTraefikConfig` endpoint.
- Allows arbitrary system command execution.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow authenticated administrative users to execute arbitrary commands on the server hosting Dokploy. This could affect the integrity and availability of the Dokploy service and any applications it manages.
- System commands on the server could be executed.
- Via an authenticated API endpoint.
- Compromise of the Dokploy service and managed applications.
Operational Fix
Recommended remediation, mitigation, and detection steps
Platform owners and infrastructure teams are most likely responsible for addressing this critical vulnerability in Dokploy, as it allows authenticated users to execute arbitrary system commands. The first practical step involves identifying all Dokploy instances, confirming their reachability and business criticality, and then assigning an owner for remediation planning.
- Platform or infrastructure teams own resolution.
- Verify affected instances and reachability.
- Plan remediation with accountable owners.