Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, writeTraefikConfigRemote in packages/server/src/utils/traefik/application.ts serializes user-controlled Traefik configuration with yaml.stringify and interpolates the resulting yamlStr into an echo command executed through execAsyncRemote. Single quotes in redirect regex and replacement fields, basic authentication usernames, domain host values, or middleware configuration can terminate the shell quoting and execute arbitrary commands on managed remote servers with the configured SSH user's privileges. This vulnerability is caused by an incomplete fix for CVE-2026-45630. 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

Dokploy is a self‑hosted platform‑as‑a‑service that allows users to configure Traefik remotely. The writeTraefikConfigRemote function serializes incoming user data into YAML, then interpolates that YAML string into an echo command executed via SSH on a managed host. Maliciously crafted YAML that contains single quotes in redirect regex, replacement fields, basic authentication usernames, domain host values, or middleware configuration can terminate the shell quoting and inject arbitrary commands. The attacker thus gains the privileges of the configured SSH user on the remote server, potentially compromising confidentiality, integrity, and availability.

Affected Systems

Versions of Dokploy released before 0.29.13, specifically the server component packages/server/src/utils/traefik/application.ts, are affected. Administrators using any deployment of Dokploy that has not applied the hotfix in 0.29.13 are vulnerable.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity. The EPSS score is not available, and the vulnerability is not listed in KEV, but the nature of the shell injection and the privileged access via SSH make exploitation realistic. The likely attack vector is a client or malicious actor that can trigger the writeTraefikConfigRemote endpoint, such as a compromised deployment client or a malicious website owner, and that has valid SSH credentials to the managed host.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later, which implements proper YAML escaping and removes the vulnerable echo command.
  • Until the upgrade can be applied, restrict the ability to invoke writeTraefikConfigRemote to trusted administrators or block remote SSH execution from untrusted sources.
  • If upgrading immediately is infeasible, audit existing YAML configuration files on managed servers to eliminate any unsanitized single‑quote characters that may have been inserted through a prior injection.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 19: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:00:00 +0000

Type Values Removed Values Added
Description Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, writeTraefikConfigRemote in packages/server/src/utils/traefik/application.ts serializes user-controlled Traefik configuration with yaml.stringify and interpolates the resulting yamlStr into an echo command executed through execAsyncRemote. Single quotes in redirect regex and replacement fields, basic authentication usernames, domain host values, or middleware configuration can terminate the shell quoting and execute arbitrary commands on managed remote servers with the configured SSH user's privileges. This vulnerability is caused by an incomplete fix for CVE-2026-45630. This issue is fixed in version 0.29.13.
Title Dokploy: Command injection in writeTraefikConfigRemote via shell interpolation of unescaped YAML in SSH remote execution
Weaknesses CWE-77
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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:38:07.764Z

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

Link: CVE-2026-72735

cve-icon Vulnrichment

Updated: 2026-08-10T18:37:23.871Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T19:45:04Z

Weaknesses
  • CWE-77

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