Description
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, settings.readTraefikFile in apps/dokploy/server/api/routers/settings.ts passes a path accepted by apiReadTraefikConfig to readConfigInPath in packages/server/src/utils/traefik/application.ts, where configPath is interpolated into execAsyncRemote as cat ${configPath}, allowing a user with traefikFiles.read permission to execute arbitrary commands on a managed server through shell metacharacters. This issue is fixed in version 0.29.13.
Published: 2026-08-10
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A user with the traefikFiles.read permission can submit a path to the settings.readTraefikFile API endpoint. That path is interpolated directly into a shell command (cat ${configPath}), allowing the attacker to inject shell metacharacters and execute arbitrary commands on the managed server. This is a classic command injection flaw, classified as CWE‑78. Based on the description, it is inferred that the vulnerability arises from unsanitized user input being passed to a shell invocation. The resulting impact is full remote code execution, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

The vulnerability exists in Dokploy, a self-hostable Platform as a Service, in all releases prior to version 0.29.13. These releases expose the settings.readTraefikFile endpoint and lack protection against command injection. Based on the description, it is inferred that a user with traefikFiles.read rights can exploit it. Therefore any instance of Dokploy running a pre‑0.29.13 version is vulnerable if such permissions are granted.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high severity. The EPSS score is not available, so current data does not indicate a readily exploitable attack vector, yet the lack of a KEV listing suggests no documented exploitation to date. Based on the description, it is inferred that the likely attack path requires a user with traefikFiles.read permission to supply a crafted path containing shell metacharacters; the server then executes those commands in the context of the daemon. This highlights that the vulnerability can be leveraged if an attacker has the necessary permissions and access to the API endpoint. The high severity combined with the potential for broad impact underscores the need for immediate remediation.

Generated by OpenCVE AI on August 10, 2026 at 21:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Dokploy to version 0.29.13 or later to apply the patch that sanitizes the path argument.
  • If upgrading immediately is not possible, remove traefikFiles.read permission from all non‑trusted users to prevent the injection from being used.
  • As a temporary measure, disable or restrict access to the settings.readTraefikFile API endpoint or constrain it to allow only safe, predefined directories for configuration reading.
  • Monitor application logs for unexpected command execution patterns and review user permissions regularly.

Generated by OpenCVE AI on August 10, 2026 at 21:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 03:15: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, settings.readTraefikFile in apps/dokploy/server/api/routers/settings.ts passes a path accepted by apiReadTraefikConfig to readConfigInPath in packages/server/src/utils/traefik/application.ts, where configPath is interpolated into execAsyncRemote as cat ${configPath}, allowing a user with traefikFiles.read permission to execute arbitrary commands on a managed server through shell metacharacters. This issue is fixed in version 0.29.13.
Title Dokploy: Remote Code Execution (RCE) via Command Injection in settings.readTraefikFile
Weaknesses CWE-78
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T18:59:33.248Z

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

Link: CVE-2026-72875

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:00:04Z

Weaknesses
  • CWE-78

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