Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, packages/server/src/utils/providers/git.ts parses the user-controlled customGitUrl with sanitizeRepoPathSSH and interpolates its domain into the ssh-keyscan command from addHostToKnownHostsCommand without shell quoting, allowing an authenticated member with service deployment permission and an attached SSH key to execute arbitrary commands on the Dokploy host during deployment. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an OS command injection that occurs when the customGitUrl provided by a user is parsed without proper shell quoting. The value of the domain component is inserted into an ssh-keyscan command that runs on the host during deployment. An authenticated member who has permission to deploy services and whose SSH key is attached to the account can supply a crafted customGitUrl that contains shell metacharacters. On executing the deployment, the injected command runs with the privileges of the Dokploy host process, giving the attacker arbitrary code execution on the machine.

Affected Systems

This flaw affects the Dokploy PaaS platform, specifically all releases prior to v0.29.13 of the Dokploy server. The affected component is the utilities that handle SSH-based git providers.

Risk and Exploitability

The CVSS score of 9.9 marks this flaw as critical and indicates a high likelihood of severe impact if exploited. The EPSS score is not available, so no public exploitation probability data exist, but the high severity suggests that an attacker with deployment rights could act. KEV does not list this vulnerability, meaning no known active exploitation in the wild as of the data. Based on the description, it is inferred that the likely attack vector is through the normal deployment workflow, where an authenticated user with service deployment permission can supply a malicious customGitUrl. The exploitation requires level of access that is typically granted to trusted developers, so internal threat actors pose the most immediate risk.

Generated by OpenCVE AI on August 10, 2026 at 19:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later to apply the fix that sanitizes the customGitUrl domain and quotes the ssh-keyscan command.
  • If an upgrade cannot be performed immediately, restrict deployment permissions to trusted users, disable or heavily validate the customGitUrl feature, and ensure that only safe input is accepted by the server.
  • Monitor deployment logs for anomalous ssh-keyscan commands or unexpected shell activity to detect potential exploitation attempts.

Generated by OpenCVE AI on August 10, 2026 at 19:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
First Time appeared Dokploy
Dokploy dokploy
Vendors & Products Dokploy
Dokploy dokploy

Mon, 10 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 18:15:00 +0000

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, packages/server/src/utils/providers/git.ts parses the user-controlled customGitUrl with sanitizeRepoPathSSH and interpolates its domain into the ssh-keyscan command from addHostToKnownHostsCommand without shell quoting, allowing an authenticated member with service deployment permission and an attached SSH key to execute arbitrary commands on the Dokploy host during deployment. This issue is fixed in version 0.29.13.
Title Dokploy: OS Command Injection via SSH-form `customGitUrl` domain in `ssh-keyscan`
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T19:46:50.179Z

Reserved: 2026-08-10T13:48:09.546Z

Link: CVE-2026-72740

cve-icon Vulnrichment

Updated: 2026-08-10T19:46:43.731Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:45:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')