CVE-2026-45663

Dokploy · PaaS

Dokploy contains a command injection vulnerability in its Docker file upload functionality that allows authenticated users to execute arbitrary OS commands.

Executive summary

A critical command injection vulnerability in Dokploy allows authenticated users to execute arbitrary OS commands on the host by manipulating file upload paths.

Vulnerability

The application fails to sanitize the destinationPath parameter during Docker file uploads, instead interpolating it directly into a shell command. An authenticated attacker can inject shell metacharacters (e.g., ;, ") to break out of the intended docker cp command and execute arbitrary commands on the host operating system.

Business impact

With a CVSS score of 9.9, this vulnerability allows for total host compromise. An authenticated attacker can gain full control over the server hosting the Dokploy PaaS, potentially leading to unauthorized data access, service disruption, or further exploitation of the internal infrastructure.

Remediation

Immediate Action: Upgrade Dokploy to the latest version immediately to resolve the improper parameter sanitization.

Proactive Monitoring: Monitor system logs for unexpected shell execution patterns or unauthorized changes to system files originating from the Dokploy service user.

Compensating Controls: Implement strict file path validation and limit the permissions of the user account running the Dokploy service to the minimum necessary to perform its functions.

Exploitation status

Public Exploit Available: No data available.

Analyst recommendation

This vulnerability represents a significant breach of isolation between the user and the host system. All organizations using Dokploy must patch immediately and audit their environments for any signs of unauthorized access or malicious command execution.