Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, cloneGitRepository in packages/server/src/utils/providers/git.ts interpolates customGitUrl and customGitBranch into a git clone command passed to execAsync or execAsyncRemote, allowing an authenticated user with application access to execute arbitrary operating system commands on the Dokploy host by setting a malicious custom Git URL and triggering deployment. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dokploy, a self‑hosted Platform as a Service, contains a command injection flaw in the cloneGitRepository function. Prior to version 0.29.13 the function concatenates an unescaped customGitUrl and customGitBranch into a git clone command that is executed with execAsync or execAsyncRemote. An attacker who has authenticated application access can supply a malicious Git URL that contains shell metacharacters; when the deployment is triggered the server runs those characters as operating‑system commands, giving the attacker arbitrary code execution on the host system. The vulnerability is a classic example of CWE‑78, which can undermine confidentiality and integrity of the entire platform.

Affected Systems

The issue affects all deployments of Dokploy that are running any version prior to 0.29.13. The vulnerability exists in the server side code packages/server/src/utils/providers/git.ts. The affected product is Dokploy itself, a free self‑hostable PaaS platform. Upgrade to v0.29.13 or later to eliminate the flaw.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires that the user be authenticated with application access. Because the attacker can control the Git URL passed to the server, any malicious payload crafted into that URL will be executed on the host. The lack of input sanitization or escaping in the clone command makes this threat realistic for users that enable custom Git repositories.

Generated by OpenCVE AI on August 10, 2026 at 20:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later.
  • Restrict or disable the ability for authenticated users to set custom Git URLs and branches.
  • If an upgrade is not immediately possible, temporarily disable the custom Git repository deployment feature until a patched version is deployed.

Generated by OpenCVE AI on August 10, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 03:45:00 +0000

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

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

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, cloneGitRepository in packages/server/src/utils/providers/git.ts interpolates customGitUrl and customGitBranch into a git clone command passed to execAsync or execAsyncRemote, allowing an authenticated user with application access to execute arbitrary operating system commands on the Dokploy host by setting a malicious custom Git URL and triggering deployment. This issue is fixed in version 0.29.13.
Title Dokploy: Command Injection via Unescaped Git URL in Clone Commands
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:57:40.481Z

Reserved: 2026-08-10T15:28:27.617Z

Link: CVE-2026-72874

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-78

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