Sceawere

Vulnerability Detail

CVE-2026-72868UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Dokploy Destination Test Connection Command Injection

Vulnerability Metadata

Severity
Critical
Score / CVSS
9.9
Creation Date
4h 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, apps/dokploy/server/api/routers/destination.ts interpolates the accessKey, secretAccessKey, region, endpoint, provider, and bucket fields from destination.testConnection into an rclone ls command executed through child_process.exec. The `withPermission("destination", "create")` path permits a low-privileged organization member to reach the mutation, close a quoted argument with a crafted field, and execute arbitrary commands in the root Dokploy container, which has access to the host Docker socket. 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.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

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.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

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.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

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.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "9.9",
  "pubDate": "2026-08-10T19:17:35.600Z",
  "pubdate": "2026-08-10T19:17:35.600Z",
  "executiveSummary": "A command injection vulnerability exists in Dokploy prior to version 0.29.13.\nThe vulnerability resides within the destination test connection functionality, specifically in apps/dokploy/server/api/routers/destination.ts, where user-supplied input parameters are directly interpolated into a shell command.\nA low-privileged organization member with the 'destination' create permission can reach the vulnerable mutation.\nBy supplying crafted input that closes a quoted argument, an authenticated attacker can execute arbitrary system commands within the context of the root Dokploy container.\nBecause the root Dokploy container maintains access to the host Docker socket, successful exploitation leads to complete container breakout and full host system compromise.\nThe issue is fully resolved in version 0.29.13 by properly addressing the unsafe execution of child_process.exec.",
  "technicalDetails": "The vulnerability is caused by insecure command construction in the apps/dokploy/server/api/routers/destination.ts file.\nSpecifically, the destination.testConnection procedure processes various fields including accessKey, secretAccessKey, region, endpoint, provider, and bucket.\nThese fields are insecurely interpolated directly into an rclone ls command string rather than being passed safely as an array of arguments.\nThe resulting command string is subsequently executed using the Node.js child_process.exec function, which spawns a system shell to evaluate the string.\nAttack flow begins with an authenticated user holding low-privileged organization membership, specifically authorized via the withPermission('destination', 'create') access control check.\nThe attacker sends a malicious payload targeting the destination.testConnection mutation.\nBy incorporating shell metacharacters or closing the expected quoted argument string within one of the vulnerable fields, the attacker breaks out of the intended command structure and appends arbitrary operating system commands.\nWhen child_process.exec evaluates the interpolated string, the injected commands are executed with the privileges of the Dokploy server process inside the root container.\nPost-exploitation impact is severe: the root Dokploy container has access to the host Docker socket, allowing the attacker to manipulate the underlying Docker daemon, spawn privileged containers on the host, mount the host filesystem, and achieve full administrative control over the host infrastructure."
}
CVE-2026-72868: Dokploy Destination Test Connection Command Injection (CRITICAL Severity, CVSS: 9.9) - Sceawere