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 authenticated users to execute arbitrary commands on the host system during deployment. This issue arises from improper handling of user-supplied repository URLs within the deployment process.
- Command execution via custom Git URLs.
- Affects self-hosted application deployment platforms.
- Confirm relevance and exposure of this PaaS tool.
Attack Path
How an attacker could exploit the issue
An attacker with authenticated access and deployment permissions could craft a malicious Git URL. This URL, when used during a service deployment, would be improperly handled, leading to the execution of arbitrary commands on the host system.
- Authenticated member with deployment permission.
- User-controlled custom Git URL.
- Arbitrary command execution on host.
Live Threat
Current exploitation, exposure, and threat context
An authenticated member with deployment permissions could execute arbitrary commands on the Dokploy host when deploying a service if a specially crafted custom Git URL is provided. This could impact the Dokploy host's integrity and availability.
- Dokploy host system integrity.
- Arbitrary command execution via crafted URL.
- Compromise of deployed service environment.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability impacts self-hosted Dokploy instances where authenticated users can execute arbitrary commands on the host system through crafted `customGitUrl` values during deployment. Responsibility likely lies with the platform or infrastructure team managing the Dokploy deployment, in coordination with the application owners who utilize the service. The first practical step is to identify all Dokploy instances, assess their exposure and criticality, and then plan remediation by upgrading to the fixed version or implementing compensating controls.
- Platform/Infrastructure team owns the issue.
- Verify Dokploy instance reachability and criticality.
- Plan upgrade or implement mitigating controls.