Sceawere
Vulnerability Detail
CVE-2026-72738UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
Dokploy Remote Command Execution Vulnerability
Vulnerability Metadata
- Severity
- Critical
- Score / CVSS
- 9.9
- Creation Date
- 5h ago
- Vendor
- Dokploy
- Product
- dokploy
- Attack Type
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack Complexity
- LOW
Narrative and Response
Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the backup.listBackupFiles tRPC endpoint in apps/dokploy/server/api/routers/backup.ts passes the search parameter through normalizeS3Path and interpolates it into an rclone lsjson command executed by child_process.exec(), allowing an authenticated user with backup:read permission to execute arbitrary commands on the Dokploy host. This issue is fixed in version 0.29.13.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "9.9",
"pubDate": "2026-08-10T18:18:52.430Z",
"pubdate": "2026-08-10T18:18:52.430Z",
"executiveSummary": "A remote command execution vulnerability has been identified in Dokploy prior to version 0.29.13, affecting the backup.listBackupFiles tRPC endpoint. This flaw allows authenticated attackers to execute arbitrary system commands on the underlying host operating system.\nThe vulnerability stems from improper sanitization and direct interpolation of input parameters into a system command execution routine. Successful exploitation grants the attacker the ability to execute arbitrary commands with the privileges of the Dokploy server process, leading to complete host compromise.\nExploitation requires authentication with specific backup:read permissions within the application. The issue impacts self-hosted deployments of Dokploy prior to the patched version 0.29.13. The risk implication is critical, as it bridges application-layer functionality to host-level command execution, completely bypassing intended architectural boundaries.",
"technicalDetails": "The root cause of the vulnerability resides in the apps/dokploy/server/api/routers/backup.ts file, specifically within the backup.listBackupFiles tRPC endpoint. When processing user-supplied input via the search parameter, the application passes the data through the normalizeS3Path function.\nFollowing normalization, the input is insecurely interpolated directly into an rclone lsjson command string. This constructed command string is subsequently passed to the Node.js child_process.exec() function for execution on the host operating system.\nBecause child_process.exec() spawns a shell to execute the command string, an authenticated user capable of interacting with the backup.listBackupFiles endpoint can inject arbitrary shell metacharacters and commands via the search parameter. This leads to arbitrary command injection and subsequent execution.\nThe vulnerable component is the backup subsystem of Dokploy, specifically handling S3 path normalization and rclone command generation. Affected versions include all Dokploy installations prior to version 0.29.13.\nAttack requirements include network access to the Dokploy application interface, a valid user session, and the specific backup:read permission assigned to the authenticated account. No complex exploitation primitives are required due to the direct string interpolation into a shell execution context.\nThe post-exploitation impact is severe. An attacker achieving arbitrary command execution via child_process.exec() inherits the permissions of the Dokploy process, allowing them to read sensitive data, pivot to internal network segments, deploy persistence mechanisms, or inflict total system compromise on the host."
}